Skip to content

Commit

Permalink
change promise-polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Dec 19, 2016
1 parent 881952a commit 4afb6be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion template/client/promise-polyfill.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
window.Promise = require('pinkie-promise')
import Promise from 'promise-polyfill'
window.Promise = window.Promise || Promise
2 changes: 1 addition & 1 deletion template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"author": "{{ author }}",
"license": "MIT",
"dependencies": {
"pinkie-promise": "^2.0.1",
"promise-polyfill": "^6.0.2",
"vue": "^2.1.0",
"vue-router": "^2.0.0",
"vuex": "^2.0.0",
Expand Down

0 comments on commit 4afb6be

Please sign in to comment.