mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
aec89471ca
commit
23814e9c87
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user