diff --git a/src/core/widget.js b/src/core/widget.js index a8690a16f4..85f9949fae 100644 --- a/src/core/widget.js +++ b/src/core/widget.js @@ -11,7 +11,7 @@ if (self[life]) { var hooks = BI.isArray(self[life]) ? self[life] : [self[life]]; BI.each(hooks, function (i, hook) { - hook(); + hook.apply(self); }); } }