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

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

Issue 1611753002: fixes #415, correct type for map literals (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 11 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
OLDNEW
1 dart_library.library('dart/convert', null, /* Imports */[ 1 dart_library.library('dart/convert', null, /* Imports */[
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/core', 3 'dart/core',
4 'dart/async', 4 'dart/async',
5 'dart/typed_data', 5 'dart/typed_data',
6 'dart/_internal', 6 'dart/_internal',
7 'dart/collection' 7 'dart/collection'
8 ], /* Lazy imports */[ 8 ], /* Lazy imports */[
9 ], function(exports, dart, core, async, typed_data, _internal, collection) { 9 ], function(exports, dart, core, async, typed_data, _internal, collection) {
10 'use strict'; 10 'use strict';
(...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 methods: () => ({ 624 methods: () => ({
625 convert: [T, [S]], 625 convert: [T, [S]],
626 startChunkedConversion: [ChunkedConversionSink, [core.Sink$(T)]] 626 startChunkedConversion: [ChunkedConversionSink, [core.Sink$(T)]]
627 }) 627 })
628 }); 628 });
629 return _FusedConverter; 629 return _FusedConverter;
630 }); 630 });
631 let _FusedConverter = _FusedConverter$(); 631 let _FusedConverter = _FusedConverter$();
632 dart.defineLazyProperties(Encoding, { 632 dart.defineLazyProperties(Encoding, {
633 get _nameToEncoding() { 633 get _nameToEncoding() {
634 return dart.map({"iso_8859-1:1987": LATIN1, "iso-ir-100": LATIN1, "iso_885 9-1": LATIN1, "iso-8859-1": LATIN1, latin1: LATIN1, l1: LATIN1, ibm819: LATIN1, cp819: LATIN1, csisolatin1: LATIN1, "iso-ir-6": ASCII, "ansi_x3.4-1968": ASCII, "ansi_x3.4-1986": ASCII, "iso_646.irv:1991": ASCII, "iso646-us": ASCII, "us-asci i": ASCII, us: ASCII, ibm367: ASCII, cp367: ASCII, csascii: ASCII, ascii: ASCII, csutf8: UTF8, "utf-8": UTF8}); 634 return dart.map({"iso_8859-1:1987": LATIN1, "iso-ir-100": LATIN1, "iso_885 9-1": LATIN1, "iso-8859-1": LATIN1, latin1: LATIN1, l1: LATIN1, ibm819: LATIN1, cp819: LATIN1, csisolatin1: LATIN1, "iso-ir-6": ASCII, "ansi_x3.4-1968": ASCII, "ansi_x3.4-1986": ASCII, "iso_646.irv:1991": ASCII, "iso646-us": ASCII, "us-asci i": ASCII, us: ASCII, ibm367: ASCII, cp367: ASCII, csascii: ASCII, ascii: ASCII, csutf8: UTF8, "utf-8": UTF8}, core.String, Encoding);
635 }, 635 },
636 set _nameToEncoding(_) {} 636 set _nameToEncoding(_) {}
637 }); 637 });
638 const _name = Symbol('_name'); 638 const _name = Symbol('_name');
639 class HtmlEscapeMode extends core.Object { 639 class HtmlEscapeMode extends core.Object {
640 _(name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) { 640 _(name, escapeLtGt, escapeQuot, escapeApos, escapeSlash) {
641 this[_name] = name; 641 this[_name] = name;
642 this.escapeLtGt = escapeLtGt; 642 this.escapeLtGt = escapeLtGt;
643 this.escapeQuot = escapeQuot; 643 this.escapeQuot = escapeQuot;
644 this.escapeApos = escapeApos; 644 this.escapeApos = escapeApos;
(...skipping 2159 matching lines...) Expand 10 before | Expand all | Expand 10 after
2804 exports.LineSplitter = LineSplitter; 2804 exports.LineSplitter = LineSplitter;
2805 exports.StringConversionSink = StringConversionSink; 2805 exports.StringConversionSink = StringConversionSink;
2806 exports.ClosableStringSink = ClosableStringSink; 2806 exports.ClosableStringSink = ClosableStringSink;
2807 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E; 2807 exports.UNICODE_REPLACEMENT_CHARACTER_RUNE = UNICODE_REPLACEMENT_CHARACTER_RUN E;
2808 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE; 2808 exports.UNICODE_BOM_CHARACTER_RUNE = UNICODE_BOM_CHARACTER_RUNE;
2809 exports.Utf8Codec = Utf8Codec; 2809 exports.Utf8Codec = Utf8Codec;
2810 exports.UTF8 = UTF8; 2810 exports.UTF8 = UTF8;
2811 exports.Utf8Encoder = Utf8Encoder; 2811 exports.Utf8Encoder = Utf8Encoder;
2812 exports.Utf8Decoder = Utf8Decoder; 2812 exports.Utf8Decoder = Utf8Decoder;
2813 }); 2813 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698