remove event type list from Events (lazy listener initialization) p=tschaub,me r=erilem (closes #2555)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12384 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -4,12 +4,10 @@
|
||||
<script type="text/javascript">
|
||||
|
||||
function test_initialize(t) {
|
||||
t.plan(2);
|
||||
t.plan(1);
|
||||
var control = new OpenLayers.Control.DrawFeature("foo", function() {});
|
||||
t.ok(control instanceof OpenLayers.Control.DrawFeature,
|
||||
"constructor returns an instance");
|
||||
t.ok(OpenLayers.Util.indexOf(control.EVENT_TYPES, "featureadded") > -1,
|
||||
"featureadded event in EVENT_TYPES");
|
||||
}
|
||||
|
||||
function test_multi(t) {
|
||||
|
||||
Reference in New Issue
Block a user