diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-12-22 20:16:50 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-12-22 20:17:27 +0300 |
commit | 813b7e4c8de2d4e5950d279ffdd1c171d529c764 (patch) | |
tree | cd92052c71158433a6ce058186a7b1f1a4854c2f /test | |
parent | 498fd24f389105049bc2eebadfa43e228b91454a (diff) | |
download | jquery-813b7e4c8de2d4e5950d279ffdd1c171d529c764.tar.gz jquery-813b7e4c8de2d4e5950d279ffdd1c171d529c764.zip |
Build: remove needless file and re-enable jscs
Diffstat (limited to 'test')
-rw-r--r-- | test/promises-aplus-adapter.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/test/promises-aplus-adapter.js b/test/promises-aplus-adapter.js deleted file mode 100644 index 7768e2c85..000000000 --- a/test/promises-aplus-adapter.js +++ /dev/null @@ -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 ) - }; - }; -} ); |