31 lines
534 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.
*/
library angular2.src.facade.browser;
import 'dart:js' show context;
2015-05-08 19:51:19 -07:00
export 'dart:html'
show
document,
location,
window,
Element,
Node,
MouseEvent,
KeyboardEvent,
Event,
EventTarget,
History,
Location,
EventListener;
final _gc = context['gc'];
void gc() {
if (_gc != null) {
_gc.apply(const []);
}
}