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

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

Issue 1122133003: fixes #157, renaming local library identifiers if needed. (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: rebase and format Created 5 years, 7 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; 1 var core = dart.defineLibrary(core, {});
2 (function(exports) { 2 var _js_helper = dart.lazyImport(_js_helper);
3 var _internal = dart.lazyImport(_internal);
4 var collection = dart.lazyImport(collection);
5 var _interceptors = dart.lazyImport(_interceptors);
6 var convert = dart.lazyImport(convert);
7 (function(exports, _js_helper, _internal, collection, _interceptors, convert) {
3 'use strict'; 8 'use strict';
4 class Object { 9 class Object {
5 constructor() { 10 constructor() {
6 let name = this.constructor.name; 11 let name = this.constructor.name;
7 let init = this[name]; 12 let init = this[name];
8 let result = void 0; 13 let result = void 0;
9 if (init) 14 if (init)
10 result = init.apply(this, arguments); 15 result = init.apply(this, arguments);
11 return result === void 0 ? this : result; 16 return result === void 0 ? this : result;
12 } 17 }
(...skipping 3466 matching lines...) Expand 10 before | Expand all | Expand 10 after
3479 exports.StackTrace = StackTrace; 3484 exports.StackTrace = StackTrace;
3480 exports.Stopwatch = Stopwatch; 3485 exports.Stopwatch = Stopwatch;
3481 exports.String = String; 3486 exports.String = String;
3482 exports.RuneIterator = RuneIterator; 3487 exports.RuneIterator = RuneIterator;
3483 exports.StringBuffer = StringBuffer; 3488 exports.StringBuffer = StringBuffer;
3484 exports.StringSink = StringSink; 3489 exports.StringSink = StringSink;
3485 exports.Symbol = Symbol; 3490 exports.Symbol = Symbol;
3486 exports.Type = Type; 3491 exports.Type = Type;
3487 exports.Uri = Uri; 3492 exports.Uri = Uri;
3488 exports.SupportJsExtensionMethods = SupportJsExtensionMethods; 3493 exports.SupportJsExtensionMethods = SupportJsExtensionMethods;
3489 })(core || (core = {})); 3494 })(core, _js_helper, _internal, collection, _interceptors, convert);
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