Use the plain get/set for wbo.modified because it's not needed anymore and was causing JS strict warnings: reference undefined property.

This commit is contained in:
Edward Lee 2009-08-20 17:10:14 -07:00
parent aec89471ca
commit 23814e9c87

View File

@ -73,12 +73,6 @@ WBORecord.prototype = {
this.baseUri = Utils.makeURI(foo.join('/') + '/');
},
get modified() {
if (typeof(this.data.modified) == "string")
this.data.modified = parseInt(this.data.modified);
return this.data.modified;
},
get sortindex() {
if (this.data.sortindex)
return this.data.sortindex;