Includes .bind(this) polyfill for PhantomJS

This commit is contained in:
Zeno Rocha 2015-09-26 09:08:01 -07:00
parent bb60a866b2
commit ce7b9652c7
2 changed files with 4 additions and 1 deletions

View File

@ -6,8 +6,10 @@ module.exports = function(karma) {
files: [
'src/**/*.js',
'test/**/*.js'
'test/**/*.js',
'./node_modules/phantomjs-polyfill/bind-polyfill.js'
],
preprocessors: {
'src/**/*.js' : ['browserify'],
'test/**/*.js': ['browserify']

View File

@ -22,6 +22,7 @@
"karma-mocha": "^0.2.0",
"karma-phantomjs-launcher": "^0.2.1",
"mocha": "^2.3.2",
"phantomjs-polyfill": "0.0.1",
"uglify": "^0.1.5"
},
"scripts": {