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

Commit 1ff54933 by Jisoo Park

make sure global options are not altered

1 parent 9929d921
Showing with 1 additions and 1 deletions
......@@ -60,7 +60,7 @@ module.exports = (function() {
}
DAOFactory.prototype.sync = function(options) {
options = options ? Utils._.extend({}, this.options, options) : this.options
options = Utils._.extend({}, this.options, options || {})
var self = this
return new Utils.CustomEventEmitter(function(emitter) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!