pjax.js revision 60721add39f50a2f904fa5736c6d04bb7aecdb63
var EVT_ERROR = 'error',
EVT_LOAD = 'load';
// -- Prototype Properties -------------------------------------------------
routes: [
],
// -- Lifecycle Methods ----------------------------------------------------
initializer: function () {
},
// -- Public Methods -------------------------------------------------------
getContent: function (responseText) {
var content = {},
if (contentSelector) {
} else {
}
if (titleSelector) {
if (titleNode) {
}
}
return content;
},
// -- 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,
}
},
value: null
},
value: 'title'
},
timeout: {
value: 30000
}
}
});