Skip to content
Permalink
Browse files

Build: Use jscs to check test helpers

Also fix issues found by jscs
  • Loading branch information
markelog committed Feb 18, 2014
1 parent 8e5d1ca commit 3dee2983ab211bc9b1bdbf372b0ac002f7debb03
Showing with 3 additions and 2 deletions.
  1. +3 −0 Gruntfile.js
  2. +0 −1 test/data/testinit.js
  3. +0 −1 test/data/testrunner.js
@@ -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.
You can’t perform that action at this time.