Permalink
Browse files

Fixed Major issue with instances mixing with one another.

Instances were modifying the main settings affecting all new instances
with its content. Fixed
  • Loading branch information...
kr1zmo committed Dec 15, 2012
1 parent 8527587 commit 687da90f0398f4cf6b6728916ebf39d877e5e41d
Showing with 1 addition and 1 deletion.
  1. +1 −1 fb.js
View
2 fb.js
@@ -368,7 +368,7 @@ var Instance, MainExport;
* @param {[type]} opt [description]
*/
Instance = function(opt) {
- this._settings = _.clone(_.extend(settings, opt));
+ this._settings = _.extend(_.clone(settings), opt);
};
/**

0 comments on commit 687da90

Please sign in to comment.