Skip to content

Commit

Permalink
Fix Chrome error, promise was not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
akazorg committed Nov 4, 2018
1 parent 2dd35f4 commit d2d12a9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lodash": "^4.17.5",
"moment": "^2.19.4",
"popper.js": "^1.12",
"promise": "^7.1.1",
"promise": "^8.0.2",
"pusher-js": "^4.3.1",
"sass-loader": "^6.0.6",
"sweetalert": "^2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion publishable/public/js/mercurius.js

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions resources/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import vuescroll from 'vuescroll/dist/vuescroll-native';

import 'vuescroll/dist/vuescroll.css';

window._ = require('lodash');
window.Vue = Vue;
window.swal = swal;
window.Bus = new Vue();
window.axios = axios;
window.moment = moment;
window.Pusher = require('pusher-js');
window._ = require('lodash');
window.Vue = Vue;
window.swal = swal;
window.Bus = new Vue();
window.axios = axios;
window.moment = moment;
window.Promise = require('promise');
window.Pusher = require('pusher-js');


require('./bootstrap-mercurius');
Expand Down

0 comments on commit d2d12a9

Please sign in to comment.