|
@@ -12,6 +12,7 @@
|
|
import "babel-polyfill";
|
|
import "babel-polyfill";
|
|
import NodeDish from "./NodeDish";
|
|
import NodeDish from "./NodeDish";
|
|
import { _wrap, help, bake, _explainExludedFunction } from "./api";
|
|
import { _wrap, help, bake, _explainExludedFunction } from "./api";
|
|
|
|
+import File from "./File";
|
|
import {
|
|
import {
|
|
// import as core_ to avoid name clashes after wrap.
|
|
// import as core_ to avoid name clashes after wrap.
|
|
A1Z26CipherDecode as core_A1Z26CipherDecode,
|
|
A1Z26CipherDecode as core_A1Z26CipherDecode,
|
|
@@ -316,6 +317,8 @@ import {
|
|
|
|
|
|
} from "../core/operations/index";
|
|
} from "../core/operations/index";
|
|
|
|
|
|
|
|
+global.File = File;
|
|
|
|
+
|
|
// Define global environment functions
|
|
// Define global environment functions
|
|
global.ENVIRONMENT_IS_WORKER = function() {
|
|
global.ENVIRONMENT_IS_WORKER = function() {
|
|
return typeof importScripts === "function";
|
|
return typeof importScripts === "function";
|