Permalink
Browse files

Build: remove needless file and re-enable jscs

  • Loading branch information...
markelog committed Dec 22, 2015
1 parent 498fd24 commit 813b7e4c8de2d4e5950d279ffdd1c171d529c764
Showing with 1 addition and 24 deletions.
  1. +1 −1 Gruntfile.js
  2. +0 −23 test/promises-aplus-adapter.js
View
@@ -196,7 +196,7 @@ module.exports = function( grunt ) {
// Integrate jQuery specific tasks
grunt.loadTasks( "build/tasks" );
- grunt.registerTask( "lint", [ "jsonlint", "jshint" ] );
+ grunt.registerTask( "lint", [ "jsonlint", "jshint", "jscs" ] );
// Don't run Node-related tests in Node.js < 1.0.0 as they require an old
// jsdom version that needs compiling, making it harder for people to compile
@@ -1,23 +0,0 @@
-/*jshint es3:false, node:true */
-"use strict";
-
-require( "jsdom" ).env( "", function( errors, window ) {
- if ( errors ) {
- console.error( errors );
- return;
- }
-
- var jQuery = require( ".." )( window );
-
- exports.deferred = function() {
- var deferred = jQuery.Deferred();
-
- return {
- get promise() {
- return deferred.promise();
- },
- resolve: deferred.resolve.bind( deferred ),
- reject: deferred.reject.bind( deferred )
- };
- };
-} );

0 comments on commit 813b7e4

Please sign in to comment.