diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2016-05-10 12:12:28 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2016-06-11 10:41:33 +0300 |
commit | 58c6ca9822afa42d3b40cca8edb0abe90a2bcb34 (patch) | |
tree | eb8c4c93031b4f0d88ffe5d58af7d58337c7b116 /test/unit/deferred.js | |
parent | a4474c9a0025095f82d734a9d7230eace2f08ef8 (diff) | |
download | jquery-58c6ca9822afa42d3b40cca8edb0abe90a2bcb34.tar.gz jquery-58c6ca9822afa42d3b40cca8edb0abe90a2bcb34.zip |
Build: ESLint details
Use eslint pragmas, fix new errors, etc
Closes gh-3148
Diffstat (limited to 'test/unit/deferred.js')
-rw-r--r-- | test/unit/deferred.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/deferred.js b/test/unit/deferred.js index 3e147a96e..32f325681 100644 --- a/test/unit/deferred.js +++ b/test/unit/deferred.js @@ -776,8 +776,8 @@ QUnit.test( "jQuery.Deferred - resolved to a notifying deferred", function( asse done = assert.async( 2 ); deferred.resolve( jQuery.Deferred( function( notifyingDeferred ) { - notifyingDeferred.notify( "foo", "bar" ); - notifyingDeferred.resolve( "baz", "quux" ); + notifyingDeferred.notify( "foo", "bar" ); + notifyingDeferred.resolve( "baz", "quux" ); } ) ); // Apply an empty then to force thenable unwrapping. @@ -808,7 +808,7 @@ QUnit.test( "jQuery.when(nonThenable) - like Promise.resolve", function( assert // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context - defaultContext = (function getDefaultContext() { return this; }).call(), + defaultContext = ( function getDefaultContext() { return this; } ).call(), done = assert.async( 20 ); @@ -915,7 +915,7 @@ QUnit.test( "jQuery.when(thenable) - like Promise.resolve", function( assert ) { // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context - defaultContext = (function getDefaultContext() { return this; }).call(), + defaultContext = ( function getDefaultContext() { return this; } ).call(), done = assert.async( CASES * 2 ); @@ -995,7 +995,7 @@ QUnit.test( "jQuery.when(a, b) - like Promise.all", function( assert ) { // Support: Android 4.0 only // Strict mode functions invoked without .call/.apply get global-object context - defaultContext = (function getDefaultContext() { return this; }).call(), + defaultContext = ( function getDefaultContext() { return this; } ).call(), done = assert.async( 98 ); |