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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user