Skip to content

Commit

Permalink
Do not modify factory build options.
Browse files Browse the repository at this point in the history
  • Loading branch information
eventualbuddha committed Jun 18, 2015
1 parent a394bb3 commit d68f9b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rosie.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Factory.prototype = {
* @return {object}
*/
options: function(options) {
options = options || {};
options = Factory.util.extend({}, options || {});
for (var opt in this.opts) {
options[opt] = this._optionValue(opt, options);
}
Expand Down

0 comments on commit d68f9b0

Please sign in to comment.