[javascriptlint-commit] SF.net SVN: javascriptlint:[303] trunk/javascriptlint/jsl.py
Status: Beta
Brought to you by:
matthiasmiller
From: <mat...@us...> - 2011-12-02 18:49:16
|
Revision: 303 http://javascriptlint.svn.sourceforge.net/javascriptlint/?rev=303&view=rev Author: matthiasmiller Date: 2011-12-02 18:49:10 +0000 (Fri, 02 Dec 2011) Log Message: ----------- Fix --dump command line option. Modified Paths: -------------- trunk/javascriptlint/jsl.py Modified: trunk/javascriptlint/jsl.py =================================================================== --- trunk/javascriptlint/jsl.py 2011-04-07 00:07:05 UTC (rev 302) +++ trunk/javascriptlint/jsl.py 2011-12-02 18:49:10 UTC (rev 303) @@ -9,6 +9,7 @@ from optparse import OptionParser import conf +import fs import htmlparse import jsparse import lint @@ -21,7 +22,7 @@ def _dump(paths): for path in paths: - script = util.readfile(path) + script = fs.readfile(path) jsparse.dump_tree(script) def _lint(paths, conf_, printpaths): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |