[TASK] Replace es6-shim with promise-polyfill
This commit is contained in:
parent
5013ffa814
commit
7f3762cc61
@ -14,7 +14,7 @@
|
|||||||
"moment": "~2.17.1",
|
"moment": "~2.17.1",
|
||||||
"requirejs": "~2.3.2",
|
"requirejs": "~2.3.2",
|
||||||
"tablesort": "https://github.com/tristen/tablesort.git#v4.0.1",
|
"tablesort": "https://github.com/tristen/tablesort.git#v4.0.1",
|
||||||
"es6-shim": "~0.35.2",
|
"promise-polyfill": "^6.0.2",
|
||||||
"almond": "~0.3.3",
|
"almond": "~0.3.3",
|
||||||
"d3": "~3.5.17",
|
"d3": "~3.5.17",
|
||||||
"virtual-dom": "~2.1.1",
|
"virtual-dom": "~2.1.1",
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<script>
|
<script>
|
||||||
var jsonData = __inline(config.json);
|
var jsonData = __inline(config.json);
|
||||||
</script>
|
</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>
|
<script src="app.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -11,8 +11,7 @@ module.exports = function (grunt) {
|
|||||||
dest: "build/"
|
dest: "build/"
|
||||||
},
|
},
|
||||||
vendorjs: {
|
vendorjs: {
|
||||||
src: ["es6-shim/es6-shim.min.js",
|
src: ["promise-polyfill/promise.js"],
|
||||||
"es6-shim/es6-shim.map"],
|
|
||||||
expand: true,
|
expand: true,
|
||||||
cwd: "bower_components/",
|
cwd: "bower_components/",
|
||||||
dest: "build/vendor/"
|
dest: "build/vendor/"
|
||||||
|
Loading…
Reference in New Issue
Block a user