rollback added semicolons from r4151. no ; after a regular function declaration. also some small coding standards whitespace.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4157 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-08-31 15:15:07 +00:00
parent 8ae2a01b66
commit d6de04cddd
5 changed files with 63 additions and 60 deletions

View File

@@ -25,7 +25,7 @@
popup = new OpenLayers.Popup();
var newID = popup.id;
t.ok(newID != firstID, "default id generator creating unique ids");
};
}
function test_02_Popup_constructor (t) {
t.plan( 5 );
@@ -49,7 +49,7 @@
t.ok(popup.lonlat.equals(ll), "popup.lonlat set correctly");
t.ok(popup.size.equals(sz), "popup.size set correctly");
t.eq(popup.contentHTML, content, "contentHTML porpoerty of set correctly");
};
}
function test_03_Popup_draw(t) {
t.plan( 17 );
@@ -104,7 +104,7 @@
popup.moveTo(new OpenLayers.Pixel(x, y));
t.eq(popup.div.style.left, x + "px", "moveTo updates left position of popup.div correctly");
t.eq(popup.div.style.top, y + "px", "moveTo updates top position of popup.div correctly");
};
}
</script>
</head>