Skip to content

Commit ce7b965

Browse files
committed
Includes .bind(this) polyfill for PhantomJS
1 parent bb60a86 commit ce7b965

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

karma.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ module.exports = function(karma) {
66

77
files: [
88
'src/**/*.js',
9-
'test/**/*.js'
9+
'test/**/*.js',
10+
'./node_modules/phantomjs-polyfill/bind-polyfill.js'
1011
],
12+
1113
preprocessors: {
1214
'src/**/*.js' : ['browserify'],
1315
'test/**/*.js': ['browserify']

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"karma-mocha": "^0.2.0",
2323
"karma-phantomjs-launcher": "^0.2.1",
2424
"mocha": "^2.3.2",
25+
"phantomjs-polyfill": "0.0.1",
2526
"uglify": "^0.1.5"
2627
},
2728
"scripts": {

0 commit comments

Comments
 (0)