<div id="graph"></div>
<div id="mocha"></div>
- <!-- Polyfills for PhantomJS -->
- <script src="../node_modules/babel-core/browser-polyfill.js"></script>
-
<!-- Mocha -->
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
<div id="graph"></div>
<div id="mocha"></div>
- <!-- Polyfills for PhantomJS -->
- <script src="../node_modules/babel-core/browser-polyfill.js"></script>
-
<!-- Mocha -->
<script src="../node_modules/mocha/mocha.js"></script>
<script src="../node_modules/chai/chai.js"></script>
},
"pre-commit": [
"tests-ok"
- ]
+ ],
+ "dependencies": {
+ "core-js": "^2.4.1"
+ }
}
*/
+// Polyfills
+import 'core-js/es6/symbol';
+import 'core-js/fn/symbol/iterator';
+
import DygraphLayout from './dygraph-layout';
import DygraphCanvasRenderer from './dygraph-canvas';
import DygraphOptions from './dygraph-options';