| 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 part of html; | 5 part of html; |
| 6 | 6 |
| 7 // TODO(jacobr): use _Lists.dart to remove some of the duplicated | 7 // TODO(jacobr): use _Lists.dart to remove some of the duplicated |
| 8 // functionality. | 8 // functionality. |
| 9 class _ChildrenElementList implements List { | 9 class _ChildrenElementList implements List { |
| 10 // Raw Element. | 10 // Raw Element. |
| (...skipping 761 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 $if DART2JS | 772 $if DART2JS |
| 773 // Optimization to improve performance until the dart2js compiler inlines this | 773 // Optimization to improve performance until the dart2js compiler inlines this |
| 774 // method. | 774 // method. |
| 775 static Element createElement_tag(String tag) => | 775 static Element createElement_tag(String tag) => |
| 776 JS('Element', 'document.createElement(#)', tag); | 776 JS('Element', 'document.createElement(#)', tag); |
| 777 $else | 777 $else |
| 778 static Element createElement_tag(String tag) => | 778 static Element createElement_tag(String tag) => |
| 779 document.$dom_createElement(tag); | 779 document.$dom_createElement(tag); |
| 780 $endif | 780 $endif |
| 781 } | 781 } |
| OLD | NEW |