diff --git a/dist/fix/fix.compact.js b/dist/fix/fix.compact.js index c57c525ec..fc7d7dfff 100644 --- a/dist/fix/fix.compact.js +++ b/dist/fix/fix.compact.js @@ -183,7 +183,7 @@ delete this.__cacheStore; }; - _.each(["_rendered", "_mount", "__afterMount"], function (name) { + _.each(["_afterRender", "_mount", "__afterMount"], function (name) { var old = BI.Widget.prototype[name]; old && (BI.Widget.prototype[name] = function () { this.store && pushTarget(this.store); diff --git a/src/core/4.widget.js b/src/core/4.widget.js index 00029c375..94a2fe6e8 100644 --- a/src/core/4.widget.js +++ b/src/core/4.widget.js @@ -128,7 +128,7 @@ } renderCallbackCalled = true; self._render(); - self._rendered(); + self._afterRender(); self.__async = false; } @@ -137,7 +137,7 @@ (self.options.beforeRender || self.beforeRender).call(self, render); } else { self._render(); - self._rendered(); + self._afterRender(); } } @@ -149,7 +149,7 @@ } }, - _rendered: function () { + _afterRender: function () { pushTarget(this); this.__async === true && this._isMounted && callLifeHook(this, "beforeMount"); this._mount();