Skip to content
Browse files

Merge pull request #6 from stoe/master

test.js fix & Windows batch script example
  • Loading branch information...
2 parents 8753dc8 + d43ad2d commit f12b0be7bf5c5f4a725ee45bb3b26f0540694194 @arthurakay committed Jun 7, 2012
Showing with 18 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +5 −0 test.bat
  3. +11 −1 test.js
View
3 .gitignore
@@ -1 +1,2 @@
-/.idea
+/.idea
+*.log
View
5 test.bat
@@ -0,0 +1,5 @@
+@echo off
+
+cls
+rem assume that C:\path\to\phantomjs\bin is added to PATH
+phantomjs test.js
View
12 test.js
@@ -1,5 +1,15 @@
var config = {
- filepath : 'assets/' //relative to current directory
+ filepaths: [
+ 'assets/'
+ ],
+ exclusions: [
+ // ...
+ ],
+ jsLint: './assets/jslint.js',
+ lintOptions: {},
+ verbose: false,
+ stopOnFirstError: false,
+ logFile: './error.log'
};
phantom.injectJs('PhantomLint.js');

0 comments on commit f12b0be

Please sign in to comment.
Something went wrong with that request. Please try again.