Skip to content

Commit 32c9aa2

Browse files
committed
Merge pull request google-map-react#88 from in15/0113-ie11-promise-support
Add and implement es6-promise for ie11 support
2 parents 4804591 + ac166a7 commit 32c9aa2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
},
3737
"homepage": "https://github.com/istarkov/google-map-react#readme",
3838
"dependencies": {
39+
"es6-promise": "^3.0.2",
3940
"eventemitter3": "^1.1.0",
4041
"lodash": "^3.10.1",
4142
"point-geometry": "0.0.0",

src/utils/loaders/google_map_loader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import find from 'lodash/collection/find';
22
import reduce from 'lodash/collection/reduce';
3+
import { Promise } from 'es6-promise';
34

45
let $script_ = null;
56

0 commit comments

Comments
 (0)