added Function.prototype.bind polyfill for PhantomJS. Make Casper happy.

This commit is contained in:
jdescottes
2013-08-04 21:20:25 +02:00
parent 8acd91b4d9
commit a16e1bab09
4 changed files with 44 additions and 27 deletions

View File

@@ -14,11 +14,11 @@ module.exports = function (grunt) {
grunt.initConfig({
jshint : {
/*options: {
"evil": true,
"asi": true,
"smarttabs": true,
"eqnull": true
},*/
"evil": true,
"asi": true,
"smarttabs": true,
"eqnull": true
},*/
files : [
'Gruntfile.js',
'package.json',
@@ -39,10 +39,10 @@ module.exports = function (grunt) {
filesSrc : ['tests/integration/casperjs/*_test.js'],
options : {
args : {
baseUrl : 'http://localhost:' + '<%= connect.www.options.port %>/?debug'
baseUrl : 'http://localhost:' + '<%= connect.www.options.port %>/'
},
direct : false,
logLevel : 'error',
logLevel : 'debug',
printCommand : false,
printFilePaths : true
}