mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
6d1170f06c
Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: ricky <ricky.miller@gmail.com> Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com> Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com> Co-authored-by: legobt <6wbvkn0j@anonaddy.me> Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
30 lines
1.3 KiB
Diff
30 lines
1.3 KiB
Diff
diff --git a/sass.dart.js b/sass.dart.js
|
|
index 512d612fa415209d754f226802ce944aba1bf787..1374f5e19dd303fb57b5fd208d933c421c046628 100644
|
|
--- a/sass.dart.js
|
|
+++ b/sass.dart.js
|
|
@@ -16,6 +16,10 @@ self.scheduleImmediate = typeof setImmediate !== "undefined"
|
|
// CommonJS globals.
|
|
self.exports = exports;
|
|
|
|
+// realm bridge utility functions
|
|
+exports.bridgeJson = (target) => JSON.parse(JSON.stringify(target))
|
|
+exports.bridgeFn = (target) => ((...args) => target(...args))
|
|
+
|
|
// Node.js specific exports, check to see if they exist & or polyfilled
|
|
|
|
if (typeof process !== "undefined") {
|
|
@@ -3700,13 +3704,6 @@ self.fs = require("fs");
|
|
return C.PlainJavaScriptObject_methods;
|
|
if (proto === Object.prototype)
|
|
return C.PlainJavaScriptObject_methods;
|
|
- if (typeof $constructor == "function") {
|
|
- t1 = $._JS_INTEROP_INTERCEPTOR_TAG;
|
|
- if (t1 == null)
|
|
- t1 = $._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag("_$dart_js");
|
|
- Object.defineProperty($constructor, t1, {value: C.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});
|
|
- return C.UnknownJavaScriptObject_methods;
|
|
- }
|
|
return C.UnknownJavaScriptObject_methods;
|
|
},
|
|
JSArray_JSArray$fixed: function($length, $E) {
|