perf: add button for profiling tree benchmark

This commit is contained in:
Misko Hevery
2015-01-07 21:58:40 -08:00
parent 2e1feec257
commit 6e9f48564f
4 changed files with 30 additions and 2 deletions

View File

@ -3,7 +3,7 @@ library angular.core.facade.dom;
import 'dart:html';
import 'dart:js' show JsObject;
export 'dart:html' show DocumentFragment, Node, Element, TemplateElement, Text, document, location;
export 'dart:html' show DocumentFragment, Node, Element, TemplateElement, Text, document, location, window;
// TODO(tbosch): Is there a builtin one? Why is Dart
// removing unknown elements by default?

View File

@ -1,3 +1,4 @@
export var window = frames.window;
export var DocumentFragment = window.DocumentFragment;
export var Node = window.Node;
export var NodeList = window.NodeList;