jshint
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -75,7 +75,7 @@ exports.selectXPath = selectXPath; | ... | @@ -75,7 +75,7 @@ exports.selectXPath = selectXPath; |
75 | */ | 75 | */ |
76 | var Casper = function Casper(options) { | 76 | var Casper = function Casper(options) { |
77 | "use strict"; | 77 | "use strict"; |
78 | /*jshint maxstatements:30*/ | 78 | /*jshint maxstatements:40*/ |
79 | // init & checks | 79 | // init & checks |
80 | if (!(this instanceof Casper)) { | 80 | if (!(this instanceof Casper)) { |
81 | return new Casper(options); | 81 | return new Casper(options); |
... | @@ -1935,6 +1935,7 @@ exports.Casper = Casper; | ... | @@ -1935,6 +1935,7 @@ exports.Casper = Casper; |
1935 | * @return WebPage | 1935 | * @return WebPage |
1936 | */ | 1936 | */ |
1937 | function createPage(casper) { | 1937 | function createPage(casper) { |
1938 | /*jshint maxstatements:20*/ | ||
1938 | "use strict"; | 1939 | "use strict"; |
1939 | var page = require('webpage').create(); | 1940 | var page = require('webpage').create(); |
1940 | page.onAlert = function onAlert(message) { | 1941 | page.onAlert = function onAlert(message) { | ... | ... |
-
Please register or sign in to post a comment