From cf2a968f0edd7d30773f7d23fe3708fa029d5ab7 Mon Sep 17 00:00:00 2001 From: error Date: Tue, 22 Dec 2015 10:26:33 -0600 Subject: [PATCH 1/5] add easing functions to jquery and jqueryui --- jquery/jquery.d.ts | 13 +++++++++++++ jqueryui/jqueryui.d.ts | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/jquery/jquery.d.ts b/jquery/jquery.d.ts index 29b7697b2..ff259e7fb 100644 --- a/jquery/jquery.d.ts +++ b/jquery/jquery.d.ts @@ -607,6 +607,16 @@ interface JQueryAnimationOptions { specialEasing?: Object; } +interface JQueryEasingFunction { + ( percent: number ): number; +} + +interface JQueryEasingFunctions { + [ name: string ]: JQueryEasingFunction; + linear: JQueryEasingFunction; + swing: JQueryEasingFunction; +} + /** * Static members of jQuery (those on $ and jQuery themselves) */ @@ -889,6 +899,9 @@ interface JQueryStatic { /** * Effects */ + + easing: JQueryEasingFunctions; + fx: { tick: () => void; /** diff --git a/jqueryui/jqueryui.d.ts b/jqueryui/jqueryui.d.ts index 9dd576e1a..197c4dbd1 100644 --- a/jqueryui/jqueryui.d.ts +++ b/jqueryui/jqueryui.d.ts @@ -1804,3 +1804,36 @@ interface JQueryStatic { widget: JQueryUI.Widget; Widget: JQueryUI.Widget; } + +interface JQueryEasingFunctions { + easeInQuad: JQueryEasingFunction; + easeOutQuad: JQueryEasingFunction; + easeInOutQuad: JQueryEasingFunction; + easeInCubic: JQueryEasingFunction; + easeOutCubic: JQueryEasingFunction; + easeInOutCubic: JQueryEasingFunction; + easeInQuart: JQueryEasingFunction; + easeOutQuart: JQueryEasingFunction; + easeInOutQuart: JQueryEasingFunction; + easeInQuint: JQueryEasingFunction; + easeOutQuint: JQueryEasingFunction; + easeInOutQuint: JQueryEasingFunction; + easeInExpo: JQueryEasingFunction; + easeOutExpo: JQueryEasingFunction; + easeInOutExpo: JQueryEasingFunction; + easeInSine: JQueryEasingFunction; + easeOutSine: JQueryEasingFunction; + easeInOutSine: JQueryEasingFunction; + easeInCirc: JQueryEasingFunction; + easeOutCirc: JQueryEasingFunction; + easeInOutCirc: JQueryEasingFunction; + easeInElastic: JQueryEasingFunction; + easeOutElastic: JQueryEasingFunction; + easeInOutElastic: JQueryEasingFunction; + easeInBack: JQueryEasingFunction; + easeOutBack: JQueryEasingFunction; + easeInOutBack: JQueryEasingFunction; + easeInBounce: JQueryEasingFunction; + easeOutBounce: JQueryEasingFunction; + easeInOutBounce: JQueryEasingFunction; +} \ No newline at end of file From ee54597e99178c48aea20a268af6160406545551 Mon Sep 17 00:00:00 2001 From: error Date: Fri, 8 Jan 2016 11:02:19 -0600 Subject: [PATCH 2/5] add easing tests --- jquery/jquery-tests.ts | 102 +++++++++++++++++++++---------------- jqueryui/jqueryui-tests.ts | 25 ++++++++- 2 files changed, 80 insertions(+), 47 deletions(-) diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 27eea1c81..32e5c28e7 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -88,7 +88,7 @@ function test_ajax() { alert('Load was performed.'); }, error: function (jqXHR, textStatus, errorThrown) { - alert('Load failed. responseJSON=' + jqXHR.responseJSON); + alert('Load failed. responseJSON=' + jqXHR.responseJSON); } }); var _super = jQuery.ajaxSettings.xhr; @@ -1155,7 +1155,7 @@ function test_dblclick() { divdbl.dblclick(function () { divdbl.toggleClass('dbl'); }); - $('#target').dblclick(); + $('#target').dblclick(); } function test_delay() { @@ -1710,6 +1710,18 @@ function test_focusout() { }); } +function test_easing() { + var easing = jQuery.easing, + easing_fns = ["linear", "swing"], + step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + easing_fns.forEach( function( name ) { + var fn = easing[ name ]; + for( var i = 0; i <= 1; i += step ) { + console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + } + } ); +} + function test_fx() { jQuery.fx.interval = 100; $("input").click(function () { @@ -2740,7 +2752,7 @@ function test_keyup() { } function test_resize() { - $('#other').resize(); + $('#other').resize(); $('#other').resize(function () { alert('Handler for .resize() called.'); }); @@ -2750,7 +2762,7 @@ function test_resize() { } function test_scroll() { - $('#other').scroll(); + $('#other').scroll(); $('#other').scroll(function () { alert('Handler for .scroll() called.'); }); @@ -2760,7 +2772,7 @@ function test_scroll() { } function test_select() { - $('#other').select(); + $('#other').select(); $('#other').select(function () { alert('Handler for .select() called.'); }); @@ -3147,8 +3159,8 @@ function test_text() { } $('#item').click(function(e) { - if (e.ctrlKey) { console.log('control pressed'); } - if (e.altKey) { console.log('alt pressed'); } + if (e.ctrlKey) { console.log('control pressed'); } + if (e.altKey) { console.log('alt pressed'); } }); function test_addBack() { @@ -3165,27 +3177,27 @@ function test_addBack() { // http://api.jquery.com/jQuery.parseHTML/ function test_parseHTML() { - var $log = $( "#log" ), - str = "hello, my name is jQuery.", - html = $.parseHTML( str ), - nodeNames = []; + var $log = $( "#log" ), + str = "hello, my name is jQuery.", + html = $.parseHTML( str ), + nodeNames = []; - // Append the parsed HTML - $log.append( html ); + // Append the parsed HTML + $log.append( html ); - // Gather the parsed HTML's node names - $.each( html, function( i, el ) { - nodeNames[i] = "
  • " + el.nodeName + "
  • "; - }); + // Gather the parsed HTML's node names + $.each( html, function( i, el ) { + nodeNames[i] = "
  • " + el.nodeName + "
  • "; + }); - // Insert the node names - $log.append( "

    Node Names:

    " ); - $( "
      " ) - .append( nodeNames.join( "" ) ) - .appendTo( $log ); + // Insert the node names + $log.append( "

      Node Names:

      " ); + $( "
        " ) + .append( nodeNames.join( "" ) ) + .appendTo( $log ); - // parse HTML with all parameters - $.parseHTML( str, document, true ); + // parse HTML with all parameters + $.parseHTML( str, document, true ); } // http://api.jquery.com/jQuery.parseJSON/ @@ -3218,7 +3230,7 @@ function test_not() { $("p").not("#selected"); $("p").not($("div p.selected")); - + var el1 = $("
        ")[0]; var el2 = $("
        ")[0]; $("p").not([el1, el2]); @@ -3367,30 +3379,30 @@ function test_deferred_promise() { } function test_promise_then_change_type() { - function request() { - var def = $.Deferred(); - var promise = def.promise(null); + function request() { + var def = $.Deferred(); + var promise = def.promise(null); - def.rejectWith(this, [new Error()]); + def.rejectWith(this, [new Error()]); - return promise; - } + return promise; + } - function count() { - var def = request(); - return def.then(data => { - try { - var count: number = parseInt(data.count, 10); - } catch (err) { - return $.Deferred().reject(err).promise(); - } - return $.Deferred().resolve(count).promise(); - }); - } + function count() { + var def = request(); + return def.then(data => { + try { + var count: number = parseInt(data.count, 10); + } catch (err) { + return $.Deferred().reject(err).promise(); + } + return $.Deferred().resolve(count).promise(); + }); + } - count().done(data => { - }).fail((exception: Error) => { - }); + count().done(data => { + }).fail((exception: Error) => { + }); } function test_promise_then_not_return_deferred() { diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index bc84cb475..6bf4d9eb4 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -1458,8 +1458,8 @@ function test_dialog() { $(".selector").dialog({ title: "Dialog Title" }); $(".selector").dialog({ width: 500 }); $(".selector").dialog({ zIndex: 20 }); - var $el = $( ".selector" ).dialog( "moveToTop" ); - var isOpen = $( ".selector" ).dialog( "isOpen" ); + var $el = $( ".selector" ).dialog( "moveToTop" ); + var isOpen = $( ".selector" ).dialog( "isOpen" ); } @@ -1818,3 +1818,24 @@ function test_widget() { $(".selector").jQuery.Widget("option", "disabled", true); $(".selector").jQuery.Widget("option", { disabled: true }); } + +function test_easing() { + var easing = jQuery.easing, + easing_fns = ["easeInQuad", "easeOutQuad", "easeInOutQuad", + "easeInCubic", "easeOutCubic", "easeInOutCubic", + "easeInQuart", "easeOutQuart", "easeInOutQuart", + "easeInQuint", "easeOutQuint", "easeInOutQuint", + "easeInExpo", "easeOutExpo", "easeInOutExpo", + "easeInSine", "easeOutSine", "easeInOutSine", + "easeInCirc", "easeOutCirc", "easeInOutCirc", + "easeInElastic", "easeOutElastic", "easeInOutElastic", + "easeInBack", "easeOutBack", "easeInOutBack", + "easeInBounce", "easeOutBounce", "easeInOutBounce"], + step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + easing_fns.forEach( function( name ) { + var fn = easing[ name ]; + for( var i = 0; i <= 1; i += step ) { + console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + } + } ); +} From ca6fb1fb78ed94654d841bbe2163851bbb20da40 Mon Sep 17 00:00:00 2001 From: error Date: Fri, 8 Jan 2016 11:15:12 -0600 Subject: [PATCH 3/5] Revert "add easing tests" This reverts commit ee54597e99178c48aea20a268af6160406545551. --- jquery/jquery-tests.ts | 102 ++++++++++++++++--------------------- jqueryui/jqueryui-tests.ts | 25 +-------- 2 files changed, 47 insertions(+), 80 deletions(-) diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 32e5c28e7..27eea1c81 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -88,7 +88,7 @@ function test_ajax() { alert('Load was performed.'); }, error: function (jqXHR, textStatus, errorThrown) { - alert('Load failed. responseJSON=' + jqXHR.responseJSON); + alert('Load failed. responseJSON=' + jqXHR.responseJSON); } }); var _super = jQuery.ajaxSettings.xhr; @@ -1155,7 +1155,7 @@ function test_dblclick() { divdbl.dblclick(function () { divdbl.toggleClass('dbl'); }); - $('#target').dblclick(); + $('#target').dblclick(); } function test_delay() { @@ -1710,18 +1710,6 @@ function test_focusout() { }); } -function test_easing() { - var easing = jQuery.easing, - easing_fns = ["linear", "swing"], - step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error - easing_fns.forEach( function( name ) { - var fn = easing[ name ]; - for( var i = 0; i <= 1; i += step ) { - console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); - } - } ); -} - function test_fx() { jQuery.fx.interval = 100; $("input").click(function () { @@ -2752,7 +2740,7 @@ function test_keyup() { } function test_resize() { - $('#other').resize(); + $('#other').resize(); $('#other').resize(function () { alert('Handler for .resize() called.'); }); @@ -2762,7 +2750,7 @@ function test_resize() { } function test_scroll() { - $('#other').scroll(); + $('#other').scroll(); $('#other').scroll(function () { alert('Handler for .scroll() called.'); }); @@ -2772,7 +2760,7 @@ function test_scroll() { } function test_select() { - $('#other').select(); + $('#other').select(); $('#other').select(function () { alert('Handler for .select() called.'); }); @@ -3159,8 +3147,8 @@ function test_text() { } $('#item').click(function(e) { - if (e.ctrlKey) { console.log('control pressed'); } - if (e.altKey) { console.log('alt pressed'); } + if (e.ctrlKey) { console.log('control pressed'); } + if (e.altKey) { console.log('alt pressed'); } }); function test_addBack() { @@ -3177,27 +3165,27 @@ function test_addBack() { // http://api.jquery.com/jQuery.parseHTML/ function test_parseHTML() { - var $log = $( "#log" ), - str = "hello, my name is jQuery.", - html = $.parseHTML( str ), - nodeNames = []; + var $log = $( "#log" ), + str = "hello, my name is jQuery.", + html = $.parseHTML( str ), + nodeNames = []; - // Append the parsed HTML - $log.append( html ); + // Append the parsed HTML + $log.append( html ); - // Gather the parsed HTML's node names - $.each( html, function( i, el ) { - nodeNames[i] = "
      1. " + el.nodeName + "
      2. "; - }); + // Gather the parsed HTML's node names + $.each( html, function( i, el ) { + nodeNames[i] = "
      3. " + el.nodeName + "
      4. "; + }); - // Insert the node names - $log.append( "

        Node Names:

        " ); - $( "
          " ) - .append( nodeNames.join( "" ) ) - .appendTo( $log ); + // Insert the node names + $log.append( "

          Node Names:

          " ); + $( "
            " ) + .append( nodeNames.join( "" ) ) + .appendTo( $log ); - // parse HTML with all parameters - $.parseHTML( str, document, true ); + // parse HTML with all parameters + $.parseHTML( str, document, true ); } // http://api.jquery.com/jQuery.parseJSON/ @@ -3230,7 +3218,7 @@ function test_not() { $("p").not("#selected"); $("p").not($("div p.selected")); - + var el1 = $("
            ")[0]; var el2 = $("
            ")[0]; $("p").not([el1, el2]); @@ -3379,30 +3367,30 @@ function test_deferred_promise() { } function test_promise_then_change_type() { - function request() { - var def = $.Deferred(); - var promise = def.promise(null); + function request() { + var def = $.Deferred(); + var promise = def.promise(null); - def.rejectWith(this, [new Error()]); + def.rejectWith(this, [new Error()]); - return promise; - } + return promise; + } - function count() { - var def = request(); - return def.then(data => { - try { - var count: number = parseInt(data.count, 10); - } catch (err) { - return $.Deferred().reject(err).promise(); - } - return $.Deferred().resolve(count).promise(); - }); - } + function count() { + var def = request(); + return def.then(data => { + try { + var count: number = parseInt(data.count, 10); + } catch (err) { + return $.Deferred().reject(err).promise(); + } + return $.Deferred().resolve(count).promise(); + }); + } - count().done(data => { - }).fail((exception: Error) => { - }); + count().done(data => { + }).fail((exception: Error) => { + }); } function test_promise_then_not_return_deferred() { diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index 6bf4d9eb4..bc84cb475 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -1458,8 +1458,8 @@ function test_dialog() { $(".selector").dialog({ title: "Dialog Title" }); $(".selector").dialog({ width: 500 }); $(".selector").dialog({ zIndex: 20 }); - var $el = $( ".selector" ).dialog( "moveToTop" ); - var isOpen = $( ".selector" ).dialog( "isOpen" ); + var $el = $( ".selector" ).dialog( "moveToTop" ); + var isOpen = $( ".selector" ).dialog( "isOpen" ); } @@ -1818,24 +1818,3 @@ function test_widget() { $(".selector").jQuery.Widget("option", "disabled", true); $(".selector").jQuery.Widget("option", { disabled: true }); } - -function test_easing() { - var easing = jQuery.easing, - easing_fns = ["easeInQuad", "easeOutQuad", "easeInOutQuad", - "easeInCubic", "easeOutCubic", "easeInOutCubic", - "easeInQuart", "easeOutQuart", "easeInOutQuart", - "easeInQuint", "easeOutQuint", "easeInOutQuint", - "easeInExpo", "easeOutExpo", "easeInOutExpo", - "easeInSine", "easeOutSine", "easeInOutSine", - "easeInCirc", "easeOutCirc", "easeInOutCirc", - "easeInElastic", "easeOutElastic", "easeInOutElastic", - "easeInBack", "easeOutBack", "easeInOutBack", - "easeInBounce", "easeOutBounce", "easeInOutBounce"], - step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error - easing_fns.forEach( function( name ) { - var fn = easing[ name ]; - for( var i = 0; i <= 1; i += step ) { - console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); - } - } ); -} From e0078362c7022c5c943f8b64e67f822800141784 Mon Sep 17 00:00:00 2001 From: error Date: Fri, 8 Jan 2016 11:18:33 -0600 Subject: [PATCH 4/5] add easing tests for jQuery and jQueryUI --- jquery/jquery-tests.ts | 12 ++++++++++++ jqueryui/jqueryui-tests.ts | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index 27eea1c81..a1c545a6f 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -1710,6 +1710,18 @@ function test_focusout() { }); } +function test_easing() { + var easing = jQuery.easing, + easing_fns = ["linear", "swing"], + step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + easing_fns.forEach( function( name ) { + var fn = easing[ name ]; + for( var i = 0; i <= 1; i += step ) { + console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + } + } ); +} + function test_fx() { jQuery.fx.interval = 100; $("input").click(function () { diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index bc84cb475..56a371f99 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -1818,3 +1818,24 @@ function test_widget() { $(".selector").jQuery.Widget("option", "disabled", true); $(".selector").jQuery.Widget("option", { disabled: true }); } + +function test_easing() { + var easing = jQuery.easing, + easing_fns = ["easeInQuad", "easeOutQuad", "easeInOutQuad", + "easeInCubic", "easeOutCubic", "easeInOutCubic", + "easeInQuart", "easeOutQuart", "easeInOutQuart", + "easeInQuint", "easeOutQuint", "easeInOutQuint", + "easeInExpo", "easeOutExpo", "easeInOutExpo", + "easeInSine", "easeOutSine", "easeInOutSine", + "easeInCirc", "easeOutCirc", "easeInOutCirc", + "easeInElastic", "easeOutElastic", "easeInOutElastic", + "easeInBack", "easeOutBack", "easeInOutBack", + "easeInBounce", "easeOutBounce", "easeInOutBounce"], + step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + easing_fns.forEach( function( name ) { + var fn = easing[ name ]; + for( var i = 0; i <= 1; i += step ) { + console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + } + } ); +} From c44772fa6a7d07071baa6e11c9007b6d978f2d81 Mon Sep 17 00:00:00 2001 From: error Date: Fri, 8 Jan 2016 14:36:01 -0600 Subject: [PATCH 5/5] update easing tests for jQuery and jQueryUI --- jquery/jquery-tests.ts | 18 +++++++------ jqueryui/jqueryui-tests.ts | 55 ++++++++++++++++++++++++++------------ 2 files changed, 48 insertions(+), 25 deletions(-) diff --git a/jquery/jquery-tests.ts b/jquery/jquery-tests.ts index a1c545a6f..08e66551a 100644 --- a/jquery/jquery-tests.ts +++ b/jquery/jquery-tests.ts @@ -1711,15 +1711,17 @@ function test_focusout() { } function test_easing() { - var easing = jQuery.easing, - easing_fns = ["linear", "swing"], - step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error - easing_fns.forEach( function( name ) { - var fn = easing[ name ]; - for( var i = 0; i <= 1; i += step ) { - console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + const easing = jQuery.easing; + + function test_easing_function( name: string, fn: JQueryEasingFunction ) { + const step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + for( let i = 0; i <= 1; i += step ) { + console.log( `$.easing.${name}(${i}): ${fn.call(easing, i)}` ); } - } ); + } + + test_easing_function( "linear", easing.linear ); + test_easing_function( "swing", easing.swing ); } function test_fx() { diff --git a/jqueryui/jqueryui-tests.ts b/jqueryui/jqueryui-tests.ts index 56a371f99..c6d4f110c 100644 --- a/jqueryui/jqueryui-tests.ts +++ b/jqueryui/jqueryui-tests.ts @@ -1820,22 +1820,43 @@ function test_widget() { } function test_easing() { - var easing = jQuery.easing, - easing_fns = ["easeInQuad", "easeOutQuad", "easeInOutQuad", - "easeInCubic", "easeOutCubic", "easeInOutCubic", - "easeInQuart", "easeOutQuart", "easeInOutQuart", - "easeInQuint", "easeOutQuint", "easeInOutQuint", - "easeInExpo", "easeOutExpo", "easeInOutExpo", - "easeInSine", "easeOutSine", "easeInOutSine", - "easeInCirc", "easeOutCirc", "easeInOutCirc", - "easeInElastic", "easeOutElastic", "easeInOutElastic", - "easeInBack", "easeOutBack", "easeInOutBack", - "easeInBounce", "easeOutBounce", "easeInOutBounce"], - step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error - easing_fns.forEach( function( name ) { - var fn = easing[ name ]; - for( var i = 0; i <= 1; i += step ) { - console.log( "$.easing." + name + "(" + i + "): " + fn.call(easing, i) ); + const easing = jQuery.easing; + + function test_easing_function( name: string, fn: JQueryEasingFunction ) { + const step = Math.pow( 2, -3 ); // use power of 2 to prevent floating point rounding error + for( let i = 0; i <= 1; i += step ) { + console.log( `$.easing.${name}(${i}): ${fn.call(easing, i)}` ); } - } ); + } + + test_easing_function("easeInQuad", easing.easeInQuad); + test_easing_function("easeOutQuad", easing.easeOutQuad); + test_easing_function("easeInOutQuad", easing.easeInOutQuad); + test_easing_function("easeInCubic", easing.easeInCubic); + test_easing_function("easeOutCubic", easing.easeOutCubic); + test_easing_function("easeInOutCubic", easing.easeInOutCubic); + test_easing_function("easeInQuart", easing.easeInQuart); + test_easing_function("easeOutQuart", easing.easeOutQuart); + test_easing_function("easeInOutQuart", easing.easeInOutQuart); + test_easing_function("easeInQuint", easing.easeInQuint); + test_easing_function("easeOutQuint", easing.easeOutQuint); + test_easing_function("easeInOutQuint", easing.easeInOutQuint); + test_easing_function("easeInExpo", easing.easeInExpo); + test_easing_function("easeOutExpo", easing.easeOutExpo); + test_easing_function("easeInOutExpo", easing.easeInOutExpo); + test_easing_function("easeInSine", easing.easeInSine); + test_easing_function("easeOutSine", easing.easeOutSine); + test_easing_function("easeInOutSine", easing.easeInOutSine); + test_easing_function("easeInCirc", easing.easeInCirc); + test_easing_function("easeOutCirc", easing.easeOutCirc); + test_easing_function("easeInOutCirc", easing.easeInOutCirc); + test_easing_function("easeInElastic", easing.easeInElastic); + test_easing_function("easeOutElastic", easing.easeOutElastic); + test_easing_function("easeInOutElastic", easing.easeInOutElastic); + test_easing_function("easeInBack", easing.easeInBack); + test_easing_function("easeOutBack", easing.easeOutBack); + test_easing_function("easeInOutBack", easing.easeInOutBack); + test_easing_function("easeInBounce", easing.easeInBounce); + test_easing_function("easeOutBounce", easing.easeOutBounce); + test_easing_function("easeInOutBounce", easing.easeInOutBounce); }