| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** Common utility functions used by code generated by the dwc compiler. */ | 5 /** Common utility functions used by code generated by the dwc compiler. */ |
| 6 library templating; | 6 library templating; |
| 7 | 7 |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'dart:collection'; | |
| 10 import 'dart:html'; | 9 import 'dart:html'; |
| 11 import 'dart:svg' as svg; | |
| 12 import 'package:web_ui/safe_html.dart'; | 10 import 'package:web_ui/safe_html.dart'; |
| 13 import 'package:web_ui/observe.dart'; | 11 import 'package:web_ui/observe.dart'; |
| 14 import 'package:web_ui/watcher.dart'; | 12 import 'package:web_ui/watcher.dart'; |
| 15 import 'package:web_ui/web_ui.dart' show WebComponent; | 13 import 'package:web_ui/web_ui.dart' show WebComponent; |
| 16 | 14 |
| 17 /** | 15 /** |
| 18 * Empty sanitizer used to create HTML content that was already sanitized during | 16 * Empty sanitizer used to create HTML content that was already sanitized during |
| 19 * compilation. | 17 * compilation. |
| 20 */ | 18 */ |
| 21 NodeTreeSanitizer nullTreeSanitizer = new _NullTreeSanitizer(); | 19 NodeTreeSanitizer nullTreeSanitizer = new _NullTreeSanitizer(); |
| (...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 node.nodes.clear(); | 675 node.nodes.clear(); |
| 678 nodes.clear(); | 676 nodes.clear(); |
| 679 } | 677 } |
| 680 | 678 |
| 681 void remove() { | 679 void remove() { |
| 682 _removeInternal(); | 680 _removeInternal(); |
| 683 stopper(); | 681 stopper(); |
| 684 stopper = null; | 682 stopper = null; |
| 685 } | 683 } |
| 686 } | 684 } |
| OLD | NEW |