Skip to content
Permalink
Browse files
Build: Use jscs to check test helpers
Also fix issues found by jscs
  • Loading branch information
markelog committed Apr 15, 2014
1 parent 8e5d1ca commit 3dee2983ab211bc9b1bdbf372b0ac002f7debb03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
@@ -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: {
@@ -201,7 +201,6 @@ this.ajaxTest = function( title, expect, options ) {
});
};


this.testIframe = function( fileName, name, fn ) {
asyncTest(name, function() {

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


for ( i in jQuery.cache ) {
++cacheLength;
}

0 comments on commit 3dee298

Please sign in to comment.