Skip to content

Commit

Permalink
Correct deserializer to init properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Stuk committed Jan 18, 2013
1 parent ef66199 commit 970145b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/deserializer.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ var Deserializer = exports.Deserializer = Montage.create(Montage, /** @lends mod
this._reset();
this._serializationString = string;
this._origin = origin;
this._setupModulesForRequire(this._require);
return this;
}},
/**
Expand All @@ -182,6 +183,7 @@ var Deserializer = exports.Deserializer = Montage.create(Montage, /** @lends mod
initWithObject: {value: function(object) {
this._reset();
this._serializationString = JSON.stringify(object);
this._setupModulesForRequire(this._require);
return this;
}},

Expand Down

0 comments on commit 970145b

Please sign in to comment.