Skip to content

Commit

Permalink
fix for init() not getting called
Browse files Browse the repository at this point in the history
  • Loading branch information
dextermilo committed Sep 15, 2013
1 parent 34c304c commit bf63509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/patterns/base.js
Expand Up @@ -102,7 +102,7 @@ define([
getOptions($el, this.name),
options || {});
}
if (options && (options.__returnDefaults === undefined || options.__returnDefaults === false)) {
if (this.options.__returnDefaults !== true) {
this.init();
this.trigger('init');
}
Expand Down

0 comments on commit bf63509

Please sign in to comment.