pjax-debug.js revision 722482d912ef5ee813fa1aa0d584c0ae461d4f62
var EVT_ERROR = 'error',
EVT_LOAD = 'load';
// -- 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
},
routes: {
value: [
]
},
value: 'title'
},
timeout: {
value: 30000
}
}
});