do not rely on Function.prototype.startsWith, use OpenLayers.String.startsWith, non-functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10918 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
popup = new OpenLayers.Popup.Anchored();
|
||||
|
||||
t.ok( popup instanceof OpenLayers.Popup.Anchored, "new OpenLayers.Popup.Anchored returns Popup.Anchored object" );
|
||||
t.ok(popup.id.startsWith("OpenLayers.Popup.Anchored"), "valid default popupid");
|
||||
t.ok(OpenLayers.String.startsWith(popup.id, "OpenLayers.Popup.Anchored"), "valid default popupid");
|
||||
var firstID = popup.id;
|
||||
t.eq(popup.contentHTML, null, "good default popup.contentHTML");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user