]> source.dussan.org Git - jquery.git/commitdiff
Build: Stop removing the JSHint onevar option, it's no longer there
authorMichał Gołębiowski <m.goleb@gmail.com>
Tue, 9 Feb 2016 09:18:19 +0000 (10:18 +0100)
committerMichał Gołębiowski <m.goleb@gmail.com>
Tue, 9 Feb 2016 09:18:19 +0000 (10:18 +0100)
Gruntfile.js

index 591af920ddd43acd5bfb9317dc3b2c5bd1a7e7fb..0f509e4882bc4f06d8e0dcdec7aa29d798e0cb94 100644 (file)
@@ -27,10 +27,6 @@ module.exports = function( grunt ) {
                        }
                } )();
 
-       // The concatenated file won't pass onevar
-       // But our modules can
-       delete srcHintOptions.onevar;
-
        if ( !grunt.option( "filename" ) ) {
                grunt.option( "filename", "jquery.js" );
        }