mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
change pushDepthRecord to pushLiteral (takes an object instead of a resource; omits the resource upload filters step)
This commit is contained in:
parent
a2bd9dcd45
commit
ce5b1b7369
@ -132,8 +132,8 @@ Collection.prototype = {
|
|||||||
fn.async(this, onComplete, record);
|
fn.async(this, onComplete, record);
|
||||||
},
|
},
|
||||||
|
|
||||||
pushDepthRecord: function Coll_pushDepthRecord(record) {
|
pushLiteral: function Coll_pushLiteral(object) {
|
||||||
this._data.push(this._json.encode(record));
|
this._data.push(this._json.encode(object));
|
||||||
},
|
},
|
||||||
|
|
||||||
clearRecords: function Coll_clearRecords() {
|
clearRecords: function Coll_clearRecords() {
|
||||||
|
Loading…
Reference in New Issue
Block a user