fix broken test_Handler -- stray try {} statement, presumably from debugging.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5898 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -90,8 +90,7 @@
|
||||
|
||||
handler.activate();
|
||||
map.events.unregister = function(type, obj, func) {
|
||||
try {
|
||||
var r = func();
|
||||
var r = func();
|
||||
if(typeof r == "string") {
|
||||
// this is one of the mock handler methods
|
||||
t.ok(OpenLayers.Util.indexOf(events, type) > -1,
|
||||
|
||||
Reference in New Issue
Block a user