Commit 947dcfba authored by Eric Eastwood's avatar Eric Eastwood

Use es6-promise package to avoid webpack warnings

See https://github.com/stefanpenner/es6-promise/issues/100

```
[WDS] Warnings while compiling.
./vendor/assets/javascripts/es6-promise.auto.js
Module not found: Error: Can't resolve 'vertx' in
'/Users/eric/Documents/gitlab/gitlab-development-kit/gitlab/vendor/assets/javascripts'
 @ ./vendor/assets/javascripts/es6-promise.auto.js 140:16-26
 @ ./app/assets/javascripts/application.js
 @ multi (webpack)-dev-server/client?http://localhost:3808
./application.js
```
parent e5f446b7
......@@ -56,8 +56,7 @@ requireAll(require.context('./u2f', false, /^\.\/.*\.(js|es6)$/));
requireAll(require.context('./droplab', false, /^\.\/.*\.(js|es6)$/));
requireAll(require.context('.', false, /^\.\/(?!application\.js).*\.(js|es6)$/));
require('vendor/fuzzaldrin-plus');
window.ES6Promise = require('vendor/es6-promise.auto');
window.ES6Promise.polyfill();
require('es6-promise').polyfill();
(function () {
document.addEventListener('beforeunload', function () {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment