Data: camelCasing should not ignore case
[jquery.git] / test / promises_aplus_adapter.js
blobdecc3e0f09ed1875c7d05725931c71cfb3c52ffc
1 /* jshint node: true */
3 "use strict";
5 require( "jsdom" ).env( "", function ( errors, window ) {
6         if ( errors ) {
7                 console.error( errors );
8                 return;
9         }
11         var jQuery = require( ".." )( window );
13         exports.deferred = function () {
14                 var deferred = jQuery.Deferred();
16                 return {
17                         promise: deferred.promise(),
18                         resolve: deferred.resolve.bind( deferred ),
19                         reject: deferred.reject.bind( deferred )
20                 };
21         };
22 } );