From 89bf0d057bc9ec552b042a997501e094e95da543 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 13 May 2015 22:01:44 -0400 Subject: Spinner: Remove core event/alias and deprecated module dependencies --- demos/spinner/default.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'demos/spinner/default.html') diff --git a/demos/spinner/default.html b/demos/spinner/default.html index 9486422fc..328d4d13c 100644 --- a/demos/spinner/default.html +++ b/demos/spinner/default.html @@ -15,24 +15,24 @@ $(function() { var spinner = $( "#spinner" ).spinner(); - $( "#disable" ).click(function() { + $( "#disable" ).on( "click", function() { if ( spinner.spinner( "option", "disabled" ) ) { spinner.spinner( "enable" ); } else { spinner.spinner( "disable" ); } }); - $( "#destroy" ).click(function() { + $( "#destroy" ).on( "click", function() { if ( spinner.spinner( "instance" ) ) { spinner.spinner( "destroy" ); } else { spinner.spinner(); } }); - $( "#getvalue" ).click(function() { + $( "#getvalue" ).on( "click", function() { alert( spinner.spinner( "value" ) ); }); - $( "#setvalue" ).click(function() { + $( "#setvalue" ).on( "click", function() { spinner.spinner( "value", 5 ); }); -- cgit v1.2.3