import Dygraph from '../../src/dygraph';
import Util from './Util';
+import 'core-js/es6/promise';
+
function dygraphPromise(div, data, opts) {
return new Promise((resolve, reject) => {
const g = new Dygraph(div, data, opts);
# Create dist/dygraph.tmp.js.map
cat dist/dygraph.tmp.js | exorcist --base . dist/dygraph.tmp.js.map > /dev/null
-header='/*! @license Copyright 2014 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */'
+header='/*! @license Copyright 2017 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */'
# Create dist/dygraph.js.min{,.map}
uglifyjs --compress --mangle \