Revert "add easing tests"

This reverts commit ee54597e99.
This commit is contained in:
error
2016-01-08 11:15:12 -06:00
parent ee54597e99
commit ca6fb1fb78
2 changed files with 47 additions and 80 deletions
+2 -23
View File
@@ -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) );
}
} );
}