diff --git a/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js b/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js index 5f5f2e491be4a0..8242e6a2d6c3e3 100644 --- a/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js +++ b/Libraries/JavaScriptAppEngine/Initialization/InitializeJavaScriptAppEngine.js @@ -126,6 +126,10 @@ function setUpAlert() { } } +function setUpSymbol() { + GLOBAL.Symbol = require('es6-symbol'); +} + function setUpPromise() { // The native Promise implementation throws the following error: // ERROR: Event loop not supported. @@ -194,6 +198,7 @@ setUpProcessEnv(); setUpConsole(); setUpTimers(); setUpAlert(); +setUpSymbol(); setUpPromise(); setUpErrorHandler(); setUpXHR(); diff --git a/package.json b/package.json index 88fdbc580c0b19..4c3c6e3f185a00 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "modulePathIgnorePatterns": [ "node_modules/react/lib/React.js", "node_modules/react/lib/ReactDOM.js", - "node_modules/fbjs/lib/Map.js", "node_modules/fbjs/lib/Promise.js", "node_modules/fbjs/lib/fetch.js", @@ -48,7 +47,6 @@ "node_modules/fbjs/lib/someObject.js", "node_modules/fbjs/lib/sprintf.js", "node_modules/fbjs/lib/xhrSimpleDataSerializer.js", - "downstream/core/CSSCore.js", "downstream/core/TouchEventUtils.js", "downstream/core/camelize.js", @@ -68,7 +66,6 @@ "downstream/core/invariant.js", "downstream/core/nativeRequestAnimationFrame.js", "downstream/core/toArray.js", - "node_modules/jest-cli", "node_modules/react/dist" ], @@ -109,6 +106,7 @@ "art": "^0.10.0", "babel-core": "^6.1.20", "babel-plugin-external-helpers-2": "^6.1.4", + "babel-plugin-react-transform": "2.0.0-beta1", "babel-plugin-syntax-async-functions": "^6.0.14", "babel-plugin-syntax-class-properties": "^6.0.14", "babel-plugin-syntax-flow": "^6.0.14", @@ -141,6 +139,7 @@ "chalk": "^1.1.1", "connect": "^2.8.3", "debug": "^2.2.0", + "es6-symbol": "^3.0.2", "event-target-shim": "^1.0.5", "fbjs": "^0.6.0", "fbjs-scripts": "^0.4.0", @@ -160,7 +159,6 @@ "react": "^0.14.5", "react-timer-mixin": "^0.13.2", "react-transform-hmr": "^1.0.1", - "babel-plugin-react-transform": "2.0.0-beta1", "rebound": "^0.0.13", "regenerator": "^0.8.36", "sane": "^1.2.0",