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

Commit a650baaa by Jisoo Park

Revert "apply function options prior to global options"

This reverts commit bfbd3f1a.

It makes some test fail
1 parent bfbd3f1a
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 = options ? this.options : Utils._.extend({}, this.options, options) options = Utils._.extend(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!