Permalink
Browse files

Merge pull request #122 from aub/master

Fix for the editor not being returned from the constructor
  • Loading branch information...
2 parents 780703b + 872ce79 commit 3254202ccf3b553503393d64171a707a97e5bf7c @jhollingworth committed Oct 2, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/bootstrap-wysihtml5.js
@@ -314,16 +314,16 @@
shallowExtend: function (options) {
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {});
var that = this;
- methods.bypassDefaults.apply(that, [settings]);
+ return methods.bypassDefaults.apply(that, [settings]);
},
deepExtend: function(options) {
var settings = $.extend(true, {}, $.fn.wysihtml5.defaultOptions, options || {});
var that = this;
- methods.bypassDefaults.apply(that, [settings]);
+ return methods.bypassDefaults.apply(that, [settings]);
},
init: function(options) {
var that = this;
- methods.shallowExtend.apply(that, [options]);
+ return methods.shallowExtend.apply(that, [options]);
}
};

0 comments on commit 3254202

Please sign in to comment.