change pushDepthRecord to pushLiteral (takes an object instead of a resource; omits the resource upload filters step)

This commit is contained in:
Dan Mills 2009-01-02 13:46:55 -08:00
parent a2bd9dcd45
commit ce5b1b7369

View File

@ -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() {