Commit 9b9fb4b3 9b9fb4b3047f02a96cfa74ddd69e50766074f371 by Nicolas Perriault

jshint

1 parent 3a9fcefd
...@@ -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) {
......