Skip to content

Commit

Permalink
Fix class for IE
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingun committed Apr 22, 2018
1 parent 27f91a1 commit af80c65
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,12 @@ module.exports = function(config) {
'lib/**/*.js': ['browserify'],
'test/**/*.js': ['browserify'],
},
browserify: { debug: true },
browserify: {
debug: true,
transform: [
['babelify', { global: true, plugins: ['transform-class'] }]
]
},

// test results reporter to use
// possible values: 'dots', 'progress'
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"safe-stable-stringify": "^1.0.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-plugin-transform-class": "^0.3.0",
"babelify": "^8.0.0",
"browserify": "^16.1.1",
"chai": "^4.1.2",
"chai-json-schema": "^1.5.0",
Expand Down

0 comments on commit af80c65

Please sign in to comment.