OLD | NEW |
| (Empty) |
1 dart_library.library('extensions', null, /* Imports */[ | |
2 'dart_sdk' | |
3 ], function(exports, dart_sdk) { | |
4 'use strict'; | |
5 const core = dart_sdk.core; | |
6 const collection = dart_sdk.collection; | |
7 const dart = dart_sdk.dart; | |
8 const dartx = dart_sdk.dartx; | |
9 const extensions = Object.create(null); | |
10 extensions.StringIterable = class StringIterable extends collection.IterableBa
se$(core.String) { | |
11 new() { | |
12 this.iterator = null; | |
13 super.new(); | |
14 } | |
15 }; | |
16 dart.setSignature(extensions.StringIterable, {}); | |
17 dart.defineExtensionMembers(extensions.StringIterable, ['iterator']); | |
18 extensions.main = function() { | |
19 return new extensions.StringIterable(); | |
20 }; | |
21 dart.fn(extensions.main); | |
22 // Exports: | |
23 exports.extensions = extensions; | |
24 }); | |
OLD | NEW |