[TASK] Replace es6-shim with promise-polyfill

This commit is contained in:
Xaver Maierhofer 2017-01-16 02:35:59 +01:00
parent 5013ffa814
commit 7f3762cc61
No known key found for this signature in database
GPG Key ID: 7FDCE23FD2EC9FE8
3 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@
"moment": "~2.17.1",
"requirejs": "~2.3.2",
"tablesort": "https://github.com/tristen/tablesort.git#v4.0.1",
"es6-shim": "~0.35.2",
"promise-polyfill": "^6.0.2",
"almond": "~0.3.3",
"d3": "~3.5.17",
"virtual-dom": "~2.1.1",

View File

@ -7,7 +7,7 @@
<script>
var jsonData = __inline(config.json);
</script>
<script src="vendor/es6-shim/es6-shim.min.js?__inline=true"></script>
<script src="vendor/promise-polyfill/promise.js?__inline=true"></script>
<script src="app.js"></script>
</head>
<body>

View File

@ -11,8 +11,7 @@ module.exports = function (grunt) {
dest: "build/"
},
vendorjs: {
src: ["es6-shim/es6-shim.min.js",
"es6-shim/es6-shim.map"],
src: ["promise-polyfill/promise.js"],
expand: true,
cwd: "bower_components/",
dest: "build/vendor/"