1
0
Fork 0
forked from 0x2620/oxjs

remove new for all Ox.Elements, dont declare arguments again, add some semicolons

This commit is contained in:
j 2011-06-19 19:48:32 +02:00
commit b27ed00356
69 changed files with 430 additions and 440 deletions

View file

@ -13,11 +13,11 @@ Ox.MapRectangle <f> MapRectangle Object
Ox.MapRectangle = function(options, self) {
var options = Ox.extend({
var that = this;
options = Ox.extend({
map: null,
place: null
}, options),
that = this;
}, options);
Ox.forEach(options, function(val, key) {
that[key] = val;
@ -34,7 +34,7 @@ Ox.MapRectangle = function(options, self) {
markers <a> array of markers
@*/
that.markers = Ox.map(that.place.points, function(point, position) {
return new Ox.MapRectangleMarker({
return Ox.MapRectangleMarker({
map: that.map,
place: that.place,
position: position