Build: Stop removing the JSHint onevar option, it's no longer there

This commit is contained in:
Michał Gołębiowski 2016-02-09 10:18:19 +01:00
parent f52fa81811
commit 3f46cec169

View 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" ) ) { if ( !grunt.option( "filename" ) ) {
grunt.option( "filename", "jquery.js" ); grunt.option( "filename", "jquery.js" );
} }