Skip to content

Commit 9eb10cd

Browse files
author
Mark
committed
Using babel polyfill to allow for Map constructor
1 parent 667d89b commit 9eb10cd

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"test": "bt test"
5050
},
5151
"dependencies": {
52+
"babel-polyfill": "^6.7.4",
5253
"device-manager": "^1.1.1",
5354
"observe-js": "^0.4.2",
5455
"promise": "^6.1.0",

src/form-element.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
'use strict';
2+
// Import babel's polyfill here to allow for new Map() constructor
3+
import 'babel-polyfill';
24

35
/**
46
* Bubbles up each parent node of the element, triggering the callback on each element until traversal

0 commit comments

Comments
 (0)