Skip to content

Commit

Permalink
added a polyfill for Function.prototype.bind
Browse files Browse the repository at this point in the history
PhantonJS uses an old version of javascript core:
ariya/phantomjs#10522
  • Loading branch information
gibatronic committed Dec 15, 2014
1 parent 0480c01 commit 0ecf880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions karma.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = function(config) {
],
colors: true,
files: [
'node_modules/polyfill-function-prototype-bind/bind.js',
'build/*.js',
'test/*.js'
],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"karma-jasmine": "^0.3.2",
"karma-phantomjs-launcher": "^0.1.4",
"karma-story-reporter": "^0.2.2",
"polyfill-function-prototype-bind": "0.0.1",
"uglify-js": "^2.4.16",
"watch": "^0.13.0"
},
Expand Down

0 comments on commit 0ecf880

Please # to comment.