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

Unified Diff: tool/input_sdk/lib/_internal/pub/asset/dart/core_stubs/dart_js.dart

Issue 1020043002: Replace dart_core.js with actual compiled SDK (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: merge Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: tool/input_sdk/lib/_internal/pub/asset/dart/core_stubs/dart_js.dart
diff --git a/tool/input_sdk/lib/_internal/pub/asset/dart/core_stubs/dart_js.dart b/tool/input_sdk/lib/_internal/pub/asset/dart/core_stubs/dart_js.dart
deleted file mode 100644
index c3e2505f42fcc511ef09c048d4e78e55f8d48ab3..0000000000000000000000000000000000000000
--- a/tool/input_sdk/lib/_internal/pub/asset/dart/core_stubs/dart_js.dart
+++ /dev/null
@@ -1 +0,0 @@
-library dart.js; import 'dart:collection' show ListMixin; import 'dart:nativewrappers'; JsObject get _context { throw new UnsupportedError("_context is unsupported on this platform."); } JsObject get context { throw new UnsupportedError("context is unsupported on this platform."); } class JsObject extends NativeFieldWrapperClass2 { JsObject.internal() { throw new UnsupportedError("new JsObject.internal() is unsupported on this platform."); } factory JsObject(JsFunction constructor, [List arguments]) { throw new UnsupportedError("new JsObject() is unsupported on this platform."); } static JsObject _create(JsFunction constructor, arguments) { throw new UnsupportedError("JsObject._create() is unsupported on this platform."); } factory JsObject.fromBrowserObject(object) { throw new UnsupportedError("new JsObject.fromBrowserObject() is unsupported on this platform."); } factory JsObject.jsify(object) { throw new UnsupportedError("new JsObject.jsify() is unsupported on this platform."); } static JsObject _jsify(object) { throw new UnsupportedError("JsObject._jsify() is unsupported on this platform."); } static JsObject _fromBrowserObject(object) { throw new UnsupportedError("JsObject._fromBrowserObject() is unsupported on this platform."); } operator [](property) {} operator []=(property, value) {} int get hashCode {} operator ==(other) {} static bool _identityEquality(JsObject a, JsObject b) { throw new UnsupportedError("JsObject._identityEquality() is unsupported on this platform."); } bool hasProperty(String property) {} void deleteProperty(String property) {} bool instanceof(JsFunction type) {} String toString() {} callMethod(String method, [List args]) {} } class JsFunction extends JsObject { JsFunction.internal() : super.internal() { throw new UnsupportedError("new JsFunction.internal() is unsupported on this platform."); } factory JsFunction.withThis(Function f) { throw new UnsupportedError("new JsFunction.withThis() is unsupported on this platform."); } dynamic apply(List args, {thisArg}) {} static JsFunction _withThis(Function f) { throw new UnsupportedError("JsFunction._withThis() is unsupported on this platform."); } } class JsArray<E> extends JsObject with ListMixin<E> { factory JsArray() { throw new UnsupportedError("new JsArray() is unsupported on this platform."); } static JsArray _newJsArray() { throw new UnsupportedError("JsArray._newJsArray() is unsupported on this platform."); } factory JsArray.from(Iterable<E> other) { throw new UnsupportedError("new JsArray.from() is unsupported on this platform."); } static JsArray _newJsArrayFromSafeList(List list) { throw new UnsupportedError("JsArray._newJsArrayFromSafeList() is unsupported on this platform."); } E operator [](index) {} void operator []=(index, E value) {} int get length {} void set length(int length) {} void add(E value) {} void addAll(Iterable<E> iterable) {} void insert(int index, E element) {} E removeAt(int index) {} E removeLast() {} void removeRange(int start, int end) {} void setRange(int start, int end, Iterable<E> iterable, [int skipCount = 0]) {} void sort([int compare(E a, E b)]) {} } const _UNDEFINED = const Object(); List _stripUndefinedArgs(List args) { throw new UnsupportedError("_stripUndefinedArgs() is unsupported on this platform."); } Function _wrapAsDebuggerVarArgsFunction(JsFunction jsFunction) { throw new UnsupportedError("_wrapAsDebuggerVarArgsFunction() is unsupported on this platform."); }

Powered by Google App Engine
This is Rietveld 408576698