Skip to content

Commit

Permalink
Add Promise polyfill
Browse files Browse the repository at this point in the history
  • Loading branch information
kenrick95 committed Aug 5, 2017
1 parent c6d6cdc commit 84d717a
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/app.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/js/app.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/app.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -26,5 +26,8 @@
"superstatic": "^4.0.3",
"tslint": "^5.5.0",
"typescript": "^2.2.1"
},
"dependencies": {
"es6-promise": "^4.1.1"
}
}
1 change: 1 addition & 0 deletions src/app.ts
@@ -1,3 +1,4 @@
import 'es6-promise/auto'
import * as Game from './game'
import { Board } from './board'
document.addEventListener('DOMContentLoaded', () => {
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -840,6 +840,10 @@ es6-iterator@2, es6-iterator@^2.0.1:
es5-ext "^0.10.14"
es6-symbol "^3.1"

es6-promise@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"

es6-symbol@^3.1, es6-symbol@^3.1.1, es6-symbol@~3.1:
version "3.1.1"
resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.1.tgz#bf00ef4fdab6ba1b46ecb7b629b4c7ed5715cc77"
Expand Down

0 comments on commit 84d717a

Please sign in to comment.