不要怂,就是干,撸起袖子干!

Commit ddf90b01 by Jan Aagaard Meier

Make sure options are defined after optClone

1 parent 3fab7c7f
Showing with 1 additions and 0 deletions
......@@ -2256,6 +2256,7 @@ module.exports = (function() {
};
var optClone = Model.prototype.__optClone = function(options) {
options = options || {};
return Utils.cloneDeep(options, function(elem) {
// The InstanceFactories used for include are pass by ref, so don't clone them.
if (elem &&
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!