25 lines
390 B
Dart
Raw Normal View History

/**
* Dart version of browser APIs. This library depends on 'dart:html' and
* therefore can only run in the browser.
*/
2015-04-15 18:17:22 -07:00
library angular2.src.facade.browser;
import 'dart:js' show context;
export 'dart:html' show
document,
location,
window,
Element,
Node,
KeyboardEvent,
Event;
final _gc = context['gc'];
void gc() {
if (_gc != null) {
_gc.apply(const []);
}
}