Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: lib/runtime/dart/core.js

Issue 1145243013: Check for duplicate library names (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Address comments Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/isolate.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var core = dart.defineLibrary(core, {}); 1 dart.library('dart/core', null, /* Imports */[
2 var _js_helper = dart.lazyImport(_js_helper); 2 ], /* Lazy imports */[
3 var _internal = dart.lazyImport(_internal); 3 'dart/_js_helper',
4 var collection = dart.lazyImport(collection); 4 'dart/_internal',
5 var _interceptors = dart.lazyImport(_interceptors); 5 'dart/collection',
6 var convert = dart.lazyImport(convert); 6 'dart/_interceptors',
7 (function(exports, _js_helper, _internal, collection, _interceptors, convert) { 7 'dart/convert'
8 ], function(exports, _js_helper, _internal, collection, _interceptors, convert) {
8 'use strict'; 9 'use strict';
9 class Object { 10 class Object {
10 constructor() { 11 constructor() {
11 let name = this.constructor.name; 12 let name = this.constructor.name;
12 let init = this[name]; 13 let init = this[name];
13 let result = void 0; 14 let result = void 0;
14 if (init) 15 if (init)
15 result = init.apply(this, arguments); 16 result = init.apply(this, arguments);
16 return result === void 0 ? this : result; 17 return result === void 0 ? this : result;
17 } 18 }
(...skipping 3337 matching lines...) Expand 10 before | Expand all | Expand 10 after
3355 exports.Sink = Sink; 3356 exports.Sink = Sink;
3356 exports.StackTrace = StackTrace; 3357 exports.StackTrace = StackTrace;
3357 exports.Stopwatch = Stopwatch; 3358 exports.Stopwatch = Stopwatch;
3358 exports.String = String; 3359 exports.String = String;
3359 exports.RuneIterator = RuneIterator; 3360 exports.RuneIterator = RuneIterator;
3360 exports.StringBuffer = StringBuffer; 3361 exports.StringBuffer = StringBuffer;
3361 exports.StringSink = StringSink; 3362 exports.StringSink = StringSink;
3362 exports.Symbol = Symbol; 3363 exports.Symbol = Symbol;
3363 exports.Type = Type; 3364 exports.Type = Type;
3364 exports.Uri = Uri; 3365 exports.Uri = Uri;
3365 })(core, _js_helper, _internal, collection, _interceptors, convert); 3366 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/convert.js ('k') | lib/runtime/dart/isolate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698