OLD | NEW |
| (Empty) |
1 dart_library.library('domtest', null, /* Imports */[ | |
2 'dart/_runtime', | |
3 'sunflower/dom', | |
4 'dart/core' | |
5 ], /* Lazy imports */[ | |
6 ], function(exports, dart, dom, core) { | |
7 'use strict'; | |
8 let dartx = dart.dartx; | |
9 function testNativeIndexers() { | |
10 let nodes = dom.document.querySelector('body').childNodes; | |
11 for (let i = 0; i < dart.notNull(nodes.length); i++) { | |
12 let old = nodes[i]; | |
13 nodes[i] = dom.document.createElement('div'); | |
14 core.print(dart.equals(nodes[i], old)); | |
15 } | |
16 } | |
17 dart.fn(testNativeIndexers); | |
18 // Exports: | |
19 exports.testNativeIndexers = testNativeIndexers; | |
20 }); | |
OLD | NEW |