Side navigation
Ticket #1755: safari_reserved_word_1755.diff
File safari_reserved_word_1755.diff, 0.5 KB (added by ebartels, March 14, 2008 08:00AM UTC)
Fix use of reserved word in Safari2
diff --git a/ui.mouse.js b/ui.mouse.js
index b5fedd7..18cb03f 100644
--- a/ui.mouse.js
+++ b/ui.mouse.js
@@ -13,10 +13,10 @@
proto.plugins[i].push([option, set[i]]);
}
},
- call: function(instance, name, arguments) {
+ call: function(instance, name, args) {
var set = instance.plugins[name]; if(!set) return;
for (var i = 0; i < set.length; i++) {
- if (instance.options[set[i][0]]) set[i][1].apply(instance.element, arguments);
+ if (instance.options[set[i][0]]) set[i][1].apply(instance.element, args);
}
}
},
Download in other formats:
Original Format
File safari_reserved_word_1755.diff, 0.5 KB (added by ebartels, March 14, 2008 08:00AM UTC)
Fix use of reserved word in Safari2
diff --git a/ui.mouse.js b/ui.mouse.js
index b5fedd7..18cb03f 100644
--- a/ui.mouse.js
+++ b/ui.mouse.js
@@ -13,10 +13,10 @@
proto.plugins[i].push([option, set[i]]);
}
},
- call: function(instance, name, arguments) {
+ call: function(instance, name, args) {
var set = instance.plugins[name]; if(!set) return;
for (var i = 0; i < set.length; i++) {
- if (instance.options[set[i][0]]) set[i][1].apply(instance.element, arguments);
+ if (instance.options[set[i][0]]) set[i][1].apply(instance.element, args);
}
}
},