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

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

Issue 1170813008: fixes detection of SDK libraries (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: format 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
OLDNEW
1 dart.library('dart/_js_helper', null, /* Imports */[ 1 dart.library('dart/_js_helper', null, /* Imports */[
2 'dart/core', 2 'dart/core',
3 'dart/collection', 3 'dart/collection',
4 'dart/_interceptors',
4 'dart/_foreign_helper' 5 'dart/_foreign_helper'
5 ], /* Lazy imports */[ 6 ], /* Lazy imports */[
6 'dart/_interceptors' 7 ], function(exports, core, collection, _interceptors, _foreign_helper) {
7 ], function(exports, core, collection, _foreign_helper, _interceptors) {
8 'use strict'; 8 'use strict';
9 class NoThrows extends core.Object { 9 class NoThrows extends core.Object {
10 NoThrows() { 10 NoThrows() {
11 } 11 }
12 } 12 }
13 dart.setSignature(NoThrows, { 13 dart.setSignature(NoThrows, {
14 constructors: () => ({NoThrows: [NoThrows, []]}) 14 constructors: () => ({NoThrows: [NoThrows, []]})
15 }); 15 });
16 class NoInline extends core.Object { 16 class NoInline extends core.Object {
17 NoInline() { 17 NoInline() {
(...skipping 1046 matching lines...) Expand 10 before | Expand all | Expand 10 after
1064 constructors: () => ({Returns: [Returns, [core.String]]}) 1064 constructors: () => ({Returns: [Returns, [core.String]]})
1065 }); 1065 });
1066 class JSName extends core.Object { 1066 class JSName extends core.Object {
1067 JSName(name) { 1067 JSName(name) {
1068 this.name = name; 1068 this.name = name;
1069 } 1069 }
1070 } 1070 }
1071 dart.setSignature(JSName, { 1071 dart.setSignature(JSName, {
1072 constructors: () => ({JSName: [JSName, [core.String]]}) 1072 constructors: () => ({JSName: [JSName, [core.String]]})
1073 }); 1073 });
1074 dart.defineLazyClass(exports, { 1074 class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable {}
1075 get JavaScriptIndexingBehavior() {
1076 class JavaScriptIndexingBehavior extends _interceptors.JSMutableIndexable {}
1077 return JavaScriptIndexingBehavior;
1078 }
1079 });
1080 class TypeErrorImplementation extends core.Error { 1075 class TypeErrorImplementation extends core.Error {
1081 TypeErrorImplementation(value, type) { 1076 TypeErrorImplementation(value, type) {
1082 this.message = `type '${Primitives.objectTypeName(value)}' is not a subtyp e ` + `of type '${type}'`; 1077 this.message = `type '${Primitives.objectTypeName(value)}' is not a subtyp e ` + `of type '${type}'`;
1083 super.Error(); 1078 super.Error();
1084 } 1079 }
1085 fromMessage(message) { 1080 fromMessage(message) {
1086 this.message = message; 1081 this.message = message;
1087 super.Error(); 1082 super.Error();
1088 } 1083 }
1089 toString() { 1084 toString() {
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 exports.getTraceFromException = getTraceFromException; 1185 exports.getTraceFromException = getTraceFromException;
1191 exports.objectHashCode = objectHashCode; 1186 exports.objectHashCode = objectHashCode;
1192 exports.fillLiteralMap = fillLiteralMap; 1187 exports.fillLiteralMap = fillLiteralMap;
1193 exports.convertDartClosureToJS = convertDartClosureToJS; 1188 exports.convertDartClosureToJS = convertDartClosureToJS;
1194 exports.jsHasOwnProperty = jsHasOwnProperty; 1189 exports.jsHasOwnProperty = jsHasOwnProperty;
1195 exports.jsPropertyAccess = jsPropertyAccess; 1190 exports.jsPropertyAccess = jsPropertyAccess;
1196 exports.getFallThroughError = getFallThroughError; 1191 exports.getFallThroughError = getFallThroughError;
1197 exports.Creates = Creates; 1192 exports.Creates = Creates;
1198 exports.Returns = Returns; 1193 exports.Returns = Returns;
1199 exports.JSName = JSName; 1194 exports.JSName = JSName;
1195 exports.JavaScriptIndexingBehavior = JavaScriptIndexingBehavior;
1200 exports.TypeErrorImplementation = TypeErrorImplementation; 1196 exports.TypeErrorImplementation = TypeErrorImplementation;
1201 exports.CastErrorImplementation = CastErrorImplementation; 1197 exports.CastErrorImplementation = CastErrorImplementation;
1202 exports.FallThroughErrorImplementation = FallThroughErrorImplementation; 1198 exports.FallThroughErrorImplementation = FallThroughErrorImplementation;
1203 exports.RuntimeError = RuntimeError; 1199 exports.RuntimeError = RuntimeError;
1204 exports.random64 = random64; 1200 exports.random64 = random64;
1205 exports.jsonEncodeNative = jsonEncodeNative; 1201 exports.jsonEncodeNative = jsonEncodeNative;
1206 }); 1202 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698