pjax.js revision 84ae7c9d0c9d7a559d93a52393255678b6ac4e55
var EVT_ERROR = 'error',
EVT_LOAD = 'load';
// -- Prototype Properties -------------------------------------------------
routes: [
],
// -- Lifecycle Methods ----------------------------------------------------
initializer: function () {
},
// -- Private Methods ------------------------------------------------------
_defaultRoute: function (req) {
// If there's an outstanding request, abort it.
// Send a request.
context: this,
on: {
end : this._onPjaxIOEnd,
failure: this._onPjaxIOFailure,
success: this._onPjaxIOSuccess
}
});
},
// -- Event Handlers -------------------------------------------------------
_defCompleteFn: function (e) {
}
}
},
_onPjaxIOEnd: function () {
this._request = null;
},
});
},
});
}
}, {
ATTRS: {
container: {
value: null,
}
},
timeout: {
value: 30000
}
}
});