diff options
author | Richard Worth <rdworth@gmail.com> | 2008-11-14 03:00:16 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-11-14 03:00:16 +0000 |
commit | 7ea535fa1df43e8259ab9987a0e8e08866cfb1f5 (patch) | |
tree | de1237434696e0f094e2cfb35d7fd5880b8a72bb /tests/visual | |
parent | ed4f58c6d3c914baafaf07ab1d168e6c199b8693 (diff) | |
download | jquery-ui-7ea535fa1df43e8259ab9987a0e8e08866cfb1f5.tar.gz jquery-ui-7ea535fa1df43e8259ab9987a0e8e08866cfb1f5.zip |
fixed #3578 - ALL CODE: e, ui should be changed to event, ui
Diffstat (limited to 'tests/visual')
-rw-r--r-- | tests/visual/spinner.html | 14 |
1 files changed, 7 insertions, 7 deletions
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.length; i++) { ui.add('<a href="'+ itemList[i].url +'" target="_blank">'+ itemList[i].title +'</a>'); } @@ -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]); |