Skip to content

Commit

Permalink
Serializer is a subtype of FieldNode
Browse files Browse the repository at this point in the history
  • Loading branch information
emacsway committed Oct 21, 2018
1 parent 83c9abd commit 01e2e2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store.js
Original file line number Diff line number Diff line change
Expand Up @@ -2995,7 +2995,7 @@ function namespace(root) {
this._objectAccessor = options.objectAccessor || new ObjectAccessor(options.pk);
this._reverseMapping = this.makeReverseMapping(this._mapping);
}
Serializer.prototype = {
Serializer.prototype = clone({
constructor: Serializer,
makeReverseMapping: function(mapping) {
var reverseMapping = {};
Expand Down Expand Up @@ -3064,7 +3064,7 @@ function namespace(root) {
var self = this;
keys(record).forEach(function(key) { self._fields[key] = new Field(key); });
}
};
}, Object.create(FieldNode.prototype));


function Registry(parent) {
Expand Down

0 comments on commit 01e2e2d

Please sign in to comment.