diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:02:48 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:57 -0400 |
commit | 5ee324dd72dce71e09b80f5f1b9548683a54047c (patch) | |
tree | 3705f9d56e8124a67125d1e56654d97b32ad5a55 /demos/effect | |
parent | e543253468398ab0c3f3603d9523a4673f1491ea (diff) | |
download | jquery-ui-5ee324dd72dce71e09b80f5f1b9548683a54047c.tar.gz jquery-ui-5ee324dd72dce71e09b80f5f1b9548683a54047c.zip |
Effects: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'demos/effect')
-rw-r--r-- | demos/effect/addClass.html | 2 | ||||
-rw-r--r-- | demos/effect/animate.html | 2 | ||||
-rw-r--r-- | demos/effect/default.html | 2 | ||||
-rw-r--r-- | demos/effect/easing.html | 2 | ||||
-rw-r--r-- | demos/effect/hide.html | 2 | ||||
-rw-r--r-- | demos/effect/removeClass.html | 2 | ||||
-rw-r--r-- | demos/effect/show.html | 2 | ||||
-rw-r--r-- | demos/effect/switchClass.html | 2 | ||||
-rw-r--r-- | demos/effect/toggle.html | 2 | ||||
-rw-r--r-- | demos/effect/toggleClass.html | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/demos/effect/addClass.html b/demos/effect/addClass.html index 0aab17304..915a72f2d 100644 --- a/demos/effect/addClass.html +++ b/demos/effect/addClass.html @@ -15,7 +15,7 @@ </style> <script> $(function() { - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { $( "#effect" ).addClass( "newClass", 1000, callback ); }); diff --git a/demos/effect/animate.html b/demos/effect/animate.html index 7de535114..853b72326 100644 --- a/demos/effect/animate.html +++ b/demos/effect/animate.html @@ -16,7 +16,7 @@ <script> $(function() { var state = true; - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { if ( state ) { $( "#effect" ).animate({ backgroundColor: "#aa0000", diff --git a/demos/effect/default.html b/demos/effect/default.html index f2a6b7686..624318f22 100644 --- a/demos/effect/default.html +++ b/demos/effect/default.html @@ -59,7 +59,7 @@ }; // set effect from select menu value - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { runEffect(); return false; }); diff --git a/demos/effect/easing.html b/demos/effect/easing.html index c70786d73..26d0a96b5 100644 --- a/demos/effect/easing.html +++ b/demos/effect/easing.html @@ -79,7 +79,7 @@ ctx.stroke(); // animate on click - graph.click(function() { + graph.on( "click", function() { wrap .animate( { height: "hide" }, 2000, name ) .delay( 800 ) diff --git a/demos/effect/hide.html b/demos/effect/hide.html index 301f93047..b19ec0209 100644 --- a/demos/effect/hide.html +++ b/demos/effect/hide.html @@ -55,7 +55,7 @@ }; // set effect from select menu value - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { runEffect(); }); }); diff --git a/demos/effect/removeClass.html b/demos/effect/removeClass.html index ae2fa562e..f4a902185 100644 --- a/demos/effect/removeClass.html +++ b/demos/effect/removeClass.html @@ -15,7 +15,7 @@ </style> <script> $(function() { - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { $( "#effect" ).removeClass( "newClass", 1000, callback ); }); diff --git a/demos/effect/show.html b/demos/effect/show.html index 5583ff36f..f95c513ae 100644 --- a/demos/effect/show.html +++ b/demos/effect/show.html @@ -55,7 +55,7 @@ }; // set effect from select menu value - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { runEffect(); }); diff --git a/demos/effect/switchClass.html b/demos/effect/switchClass.html index 0ac90fe93..f7c6d12da 100644 --- a/demos/effect/switchClass.html +++ b/demos/effect/switchClass.html @@ -16,7 +16,7 @@ </style> <script> $(function() { - $( "#button" ).click(function(){ + $( "#button" ).on( "click", function(){ $( ".newClass" ).switchClass( "newClass", "anotherNewClass", 1000 ); $( ".anotherNewClass" ).switchClass( "anotherNewClass", "newClass", 1000 ); }); diff --git a/demos/effect/toggle.html b/demos/effect/toggle.html index bac5758ab..e646ec994 100644 --- a/demos/effect/toggle.html +++ b/demos/effect/toggle.html @@ -63,7 +63,7 @@ }; // set effect from select menu value - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { runEffect(); }); }); diff --git a/demos/effect/toggleClass.html b/demos/effect/toggleClass.html index f8bf31fe7..20161a81a 100644 --- a/demos/effect/toggleClass.html +++ b/demos/effect/toggleClass.html @@ -15,7 +15,7 @@ </style> <script> $(function() { - $( "#button" ).click(function() { + $( "#button" ).on( "click", function() { $( "#effect" ).toggleClass( "newClass", 1000 ); }); }); |