From 7ea535fa1df43e8259ab9987a0e8e08866cfb1f5 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Fri, 14 Nov 2008 03:00:16 +0000 Subject: fixed #3578 - ALL CODE: e, ui should be changed to event, ui --- tests/visual/spinner.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tests/visual') diff --git a/tests/visual/spinner.html b/tests/visual/spinner.html index 438ce110e..b9151f9ad 100644 --- a/tests/visual/spinner.html +++ b/tests/visual/spinner.html @@ -47,7 +47,7 @@ $(function(){ // Two methods of adding external items to the spinner // // method 1: on initalisation call the add method directly and format html manually - init: function(e, ui) { + init: function(event, ui) { for (var i=0; i'+ itemList[i].title +''); } @@ -59,19 +59,19 @@ $(function(){ }, // callbacks 's6': { - init: function(e, ui) { + init: function(event, ui) { console.log('init: '+ ui.value); }, - up: function(e, ui) { + up: function(event, ui) { console.log('up: '+ ui.value); }, - down: function(e, ui) { + down: function(event, ui) { console.log('down: '+ ui.value); }, - spin: function(e, ui) { + spin: function(event, ui) { console.log('spin: '+ ui.value); }, - change: function(e, ui) { + change: function(event, ui) { console.log('change: '+ ui.value); } } @@ -80,7 +80,7 @@ $(function(){ for (var n in opts) $("#"+n).spinner(opts[n]); - $("button").click(function(e){ + $("button").click(function(event){ var ns = $(this).attr('id').match(/(s\d)\-(\w+)$/); if (ns != null) $('#'+ns[1]).spinner( (ns[2] == 'create') ? opts[ns[1]] : ns[2]); -- cgit v1.2.3