diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 00000000..0ca5b91f --- /dev/null +++ b/.jshintrc @@ -0,0 +1,17 @@ +{ + "bitwise": true, + "curly": true, + "eqeqeq": true, + "evil": true, + "forin": true, + "freeze": true, + "latedef": true, + "loopfunc": true, + "noarg": true, + "nonew": true, + "proto": true, + "rhino": false, + "strict": "implied", + "undef": true, + "unused": "vars" +} diff --git a/build.xml b/build.xml index 6e91a27b..3052377e 100644 --- a/build.xml +++ b/build.xml @@ -79,13 +79,25 @@ + - + + + + + + + + + + + + - + @@ -112,13 +124,14 @@ ${license.text} */ /* Version v@VERSION@, Build time: ${RIGHT_NOW} */ - var parserlib = {}; + var parserlib = Object.create(null); (function(){