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

Side by Side Diff: lib/runtime/dart/convert.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/collection.js ('k') | lib/runtime/dart/core.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 convert = dart.defineLibrary(convert, {}); 1 dart.library('dart/convert', null, /* Imports */[
2 var core = dart.import(core); 2 'dart/core',
3 var async = dart.import(async); 3 'dart/async',
4 var typed_data = dart.import(typed_data); 4 'dart/typed_data',
5 var _internal = dart.import(_internal); 5 'dart/_internal',
6 var collection = dart.import(collection); 6 'dart/collection'
7 (function(exports, core, async, typed_data, _internal, collection) { 7 ], /* Lazy imports */[
8 ], function(exports, core, async, typed_data, _internal, collection) {
8 'use strict'; 9 'use strict';
9 let Codec$ = dart.generic(function(S, T) { 10 let Codec$ = dart.generic(function(S, T) {
10 class Codec extends core.Object { 11 class Codec extends core.Object {
11 Codec() { 12 Codec() {
12 } 13 }
13 encode(input) { 14 encode(input) {
14 dart.as(input, S); 15 dart.as(input, S);
15 return this.encoder.convert(input); 16 return this.encoder.convert(input);
16 } 17 }
17 decode(encoded) { 18 decode(encoded) {
(...skipping 2871 matching lines...) Expand 10 before | Expand all | Expand 10 after
2889 exports.Latin1Decoder = Latin1Decoder; 2890 exports.Latin1Decoder = Latin1Decoder;
2890 exports.LineSplitter = LineSplitter; 2891 exports.LineSplitter = LineSplitter;
2891 exports.StringConversionSink = StringConversionSink; 2892 exports.StringConversionSink = StringConversionSink;
2892 exports.ClosableStringSink = ClosableStringSink; 2893 exports.ClosableStringSink = ClosableStringSink;
2893 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E; 2894 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E;
2894 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; 2895 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE;
2895 exports.Utf8Codec = Utf8Codec; 2896 exports.Utf8Codec = Utf8Codec;
2896 exports.UTF8 = UTF8; 2897 exports.UTF8 = UTF8;
2897 exports.Utf8Encoder = Utf8Encoder; 2898 exports.Utf8Encoder = Utf8Encoder;
2898 exports.Utf8Decoder = Utf8Decoder; 2899 exports.Utf8Decoder = Utf8Decoder;
2899 })(convert, core, async, typed_data, _internal, collection); 2900 });
OLDNEW
« no previous file with comments | « lib/runtime/dart/collection.js ('k') | lib/runtime/dart/core.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698