Skip to content

Commit 451ce6b

Browse files
committed
Update rhino and jshint.
Rhino JAR updated to latest stable release: 1.7.7. JSHint updated to jshint/jshint#2855 which is based on 2.9.1 and restores CLI functionality to the Rhino build. It was then minified with: $ (head -1 lib/jshint.js ; tail -n +2 lib/jshint.js | uglifyjs -c -m --screw-ie8 ) > lib/jshint.min.js
1 parent 93adeaa commit 451ce6b

File tree

4 files changed

+25
-3964
lines changed

4 files changed

+25
-3964
lines changed

.jshintrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"curly": true,
3+
"forin": true,
4+
"latedef": true,
5+
"evil": true,
6+
"loopfunc": true,
7+
"undef": true,
8+
"rhino": false
9+
}

build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@
7979
<exec executable="java" failonerror="true">
8080
<arg line="-jar"/>
8181
<arg path="${lib.dir}/js.jar"/>
82+
<arg line="-opt -1"/>
8283
<arg path="${lib.dir}/jshint.js" />
83-
<arg line="${jsfiles.clean} curly=true,forin=true,latedef=true,evil=true,loopfunc=true,undef=true,rhino=false" />
84+
<arg line="${jsfiles.clean}" />
8485
</exec>
8586
</target>
8687

lib/js.jar

70.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)