pjax.js revision fe23a9535206b8c78aff2e73f8d0d0106a148a41
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncY.Pjax = Y.Base.create('pjax', Y.Router, [Y.PjaxBase], {
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // -- Lifecycle Methods ----------------------------------------------------
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync initializer: function () {
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync this.publish(EVT_ERROR, {defaultFn: this._defCompleteFn});
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync this.publish(EVT_LOAD, {defaultFn: this._defCompleteFn});
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // -- Public Methods -------------------------------------------------------
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync content.node = Y.one(frag.all(contentSelector).toFrag());
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // -- Private Methods ------------------------------------------------------
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // If there's an outstanding request, abort it.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // Send a request.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync // -- Event Handlers -------------------------------------------------------
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync _defCompleteFn: function (e) {
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync _onPjaxIOEnd: function () {
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync this._request = null;
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync}, '@VERSION@' ,{requires:['pjax-base', 'io-base']});