A bit of lint removal.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10990 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2011-01-01 23:48:08 +00:00
parent 7eed099b4e
commit e7803974b0
4 changed files with 11 additions and 7 deletions
+3 -2
View File
@@ -742,7 +742,7 @@ OpenLayers.Events = OpenLayers.Class({
// fast path
if(!listeners || listeners.length == 0) {
return;
return undefined;
}
// prep evt object with object & div references
@@ -758,7 +758,8 @@ OpenLayers.Events = OpenLayers.Class({
// execute all callbacks registered for specified type
// get a clone of the listeners array to
// allow for splicing during callbacks
var listeners = listeners.slice(), continueChain;
listeners = listeners.slice();
var continueChain;
for (var i=0, len=listeners.length; i<len; i++) {
var callback = listeners[i];
// bind the context to callback.obj