Build: Use jscs to check test helpers

Also fix issues found by jscs
This commit is contained in:
Oleg Gaidarenko 2014-02-18 20:32:17 +04:00
parent 8e5d1caf7a
commit 3dee2983ab
3 changed files with 3 additions and 2 deletions

View File

@ -101,6 +101,9 @@ module.exports = function( grunt ) {
jscs: {
src: "src/**/*.js",
gruntfile: "Gruntfile.js",
// Right know, check only test helpers
test: [ "test/data/testrunner.js", "test/data/testinit.js" ],
tasks: "build/tasks/*.js"
},
testswarm: {

View File

@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
});
};
this.testIframe = function( fileName, name, fn ) {
asyncTest(name, function() {

View File

@ -124,7 +124,6 @@ window.moduleTeardown = function() {
oldActive = jQuery.active;
}
for ( i in jQuery.cache ) {
++cacheLength;
}