aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-11-14 03:00:16 +0000
committerRichard Worth <rdworth@gmail.com>2008-11-14 03:00:16 +0000
commit7ea535fa1df43e8259ab9987a0e8e08866cfb1f5 (patch)
treede1237434696e0f094e2cfb35d7fd5880b8a72bb /demos
parented4f58c6d3c914baafaf07ab1d168e6c199b8693 (diff)
downloadjquery-ui-7ea535fa1df43e8259ab9987a0e8e08866cfb1f5.tar.gz
jquery-ui-7ea535fa1df43e8259ab9987a0e8e08866cfb1f5.zip
fixed #3578 - ALL CODE: e, ui should be changed to event, ui
Diffstat (limited to 'demos')
-rw-r--r--demos/functional/js/behaviour.js2
-rw-r--r--demos/real-world/image-cropper/index.html8
-rw-r--r--demos/real-world/layout/demo.js8
-rw-r--r--demos/real-world/photo-manager/js/demo.js2
-rw-r--r--demos/real-world/range-interface/index.html2
5 files changed, 11 insertions, 11 deletions
diff --git a/demos/functional/js/behaviour.js b/demos/functional/js/behaviour.js
index 2ac0305f7..35ea2b060 100644
--- a/demos/functional/js/behaviour.js
+++ b/demos/functional/js/behaviour.js
@@ -73,7 +73,7 @@ $(document).ready(function() {
this.rotate();
this.rotate("right");
- this.element.parent().bind("mousewheel", function(e,delta) {
+ this.element.parent().bind("mousewheel", function(event ,delta) {
if(self.autoRotator) window.clearInterval(self.autoRotator);
self.rotate(delta < 0 ? "right" : "left");
return false;
diff --git a/demos/real-world/image-cropper/index.html b/demos/real-world/image-cropper/index.html
index e37b70602..c7e60fe19 100644
--- a/demos/real-world/image-cropper/index.html
+++ b/demos/real-world/image-cropper/index.html
@@ -125,7 +125,7 @@
minHeight: 100,
- resize: function(e, ui) {
+ resize: function(event, ui) {
var self = $(this).data("resizable");
this.style.backgroundPosition = '-' + (self.position.left) + 'px -' + (self.position.top) + 'px';
@@ -138,7 +138,7 @@
$("#log-width").html(self.size.width+"px");
},
- stop: function(e, ui) {
+ stop: function(event, ui) {
var self = $(this).data("resizable");
this.style.backgroundPosition = (self.position.left * -1) + 'px ' + (self.position.top * -1) + 'px';
}
@@ -150,7 +150,7 @@
containment: $('#resizeme_containment_div_wrapper'),
- drag: function(e, ui) {
+ drag: function(event, ui) {
var self = $(this).data("draggable");
this.style.backgroundPosition = (self.position.left * -1) + 'px ' + (self.position.top * -1) + 'px';
@@ -160,7 +160,7 @@
});
- $('.thumbs').find("li a").click(function(e){
+ $('.thumbs').find("li a").click(function(event){
$('#resizeme_containment_div').css('top', '0');
diff --git a/demos/real-world/layout/demo.js b/demos/real-world/layout/demo.js
index 191bee24b..3696c58d1 100644
--- a/demos/real-world/layout/demo.js
+++ b/demos/real-world/layout/demo.js
@@ -43,7 +43,7 @@
item.remove();
};
- function sortableChange(e, ui) {
+ function sortableChange(event, ui) {
if(ui.sender){
var w = ui.element.width();
ui.placeholder.width(w);
@@ -51,7 +51,7 @@
}
};
- function sortableUpdate(e, ui) {
+ function sortableUpdate(event, ui) {
if(ui.element[0].id == 'trashcan'){
emptyTrashCan(ui.item);
} else {
@@ -87,12 +87,12 @@
//placeholder: 'clone',
//placeholder: 'placeholder',
connectWith: els,
- start: function(e,ui) {
+ start: function(event,ui) {
ui.helper.css("width", ui.item.parent().width());
},
change: sortableChange,
update: sortableUpdate
- }).bind("sortreceive", function(e, ui) {
+ }).bind("sortreceive", function(event, ui) {
$(ui.item).removeClass('ui-draggable').find('dt').each(addControls);
});
$('#components > dl').draggable({
diff --git a/demos/real-world/photo-manager/js/demo.js b/demos/real-world/photo-manager/js/demo.js
index 9abc039bb..1d57bb9a9 100644
--- a/demos/real-world/photo-manager/js/demo.js
+++ b/demos/real-world/photo-manager/js/demo.js
@@ -119,7 +119,7 @@ $(window).bind('load', function() {
});
- var sliderChange = function(e, ui){
+ var sliderChange = function(event, ui){
$('.img_content').each(function(index, item){
var _new = 1.44 * $('#sliderSize').slider("value");
diff --git a/demos/real-world/range-interface/index.html b/demos/real-world/range-interface/index.html
index 3d93280cd..7fbf61cad 100644
--- a/demos/real-world/range-interface/index.html
+++ b/demos/real-world/range-interface/index.html
@@ -98,7 +98,7 @@ $(function(){
min: 0,
max: 100,
range: true,
- change: function(e, ui) {
+ change: function(event, ui) {
var minValue = $('#slider1').slider('value', 0);
var maxValue = $('#slider1').slider('value', 1);
$('#col-2 div').each(function(){