Skip to content

Commit 0b774bf

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.
1 parent 3fc7ea6 commit 0b774bf

File tree

4 files changed

+38638
-3589
lines changed

4 files changed

+38638
-3589
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.

lib/jshint.js

Lines changed: 38627 additions & 3588 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)