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

Commit 9929d921 by Jisoo Park

fix options priority (add to #315, thanks to @mickhansen)

1 parent bc4d02b8
Showing with 1 additions and 1 deletions
...@@ -60,7 +60,7 @@ module.exports = (function() { ...@@ -60,7 +60,7 @@ module.exports = (function() {
} }
DAOFactory.prototype.sync = function(options) { DAOFactory.prototype.sync = function(options) {
options = Utils._.extend(options || {}, this.options) options = options ? Utils._.extend({}, this.options, options) : this.options
var self = this var self = this
return new Utils.CustomEventEmitter(function(emitter) { 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!