jquery.js | |
bbop. | TODO! |
Functions | |
jquery | Contructor for the jQuery REST manager |
use_jsonp | Set the jQuery engine to use JSONP handling instead of the default JSON. |
jsonp_callback | Get/set the jQuery jsonp callback string to something other than “json.wrf”. |
headers | Try and control the server with the headers. |
update | See the documentation in manager.js on update to get more of the story. |
bbop. | |
Functions | |
faux_ajax | Contructor for a fake and inactive Ajax. |
ajax | Fake call to jQuery’s ajax. |
TODO!
jQuery BBOP manager for dealing with actual ajax calls. Remember, this is actually a “subclass” of bbop.rest.manager.
This should still be able to limp along (no ajax and no error parsing) even outside of a jQuery environment.
Use use_jsonp is you are working against a JSONP service instead of a non-cross-site JSON service.
Functions | |
jquery | Contructor for the jQuery REST manager |
use_jsonp | Set the jQuery engine to use JSONP handling instead of the default JSON. |
jsonp_callback | Get/set the jQuery jsonp callback string to something other than “json.wrf”. |
headers | Try and control the server with the headers. |
update | See the documentation in manager.js on update to get more of the story. |
bbop.rest.manager.jquery.prototype.use_jsonp = function( use_p )
Set the jQuery engine to use JSONP handling instead of the default JSON. If set, the callback function to use will be given my the argument “json.wrf” (like Solr), so consider that special.
use_p | [optional] external setter for |
boolean
bbop.rest.manager.jquery.prototype.update = function( callback_type )
See the documentation in manager.js on update to get more of the story. This override function adds functionality for jQuery.
callback_type | callback type string (so far unused) |
the query url (with the jQuery callback specific parameters)
Contructor for the jQuery REST manager
bbop.rest.manager.jquery = function( response_handler )
Set the jQuery engine to use JSONP handling instead of the default JSON.
bbop.rest.manager.jquery.prototype.use_jsonp = function( use_p )
Get/set the jQuery jsonp callback string to something other than “json.wrf”.
bbop.rest.manager.jquery.prototype.jsonp_callback = function( cstring )
Try and control the server with the headers.
bbop.rest.manager.jquery.prototype.headers = function( header_set )
See the documentation in manager.js on update to get more of the story.
bbop.rest.manager.jquery.prototype.update = function( callback_type )
Contructor for a fake and inactive Ajax.
bbop.rest.manager.jquery_faux_ajax = function ()
Fake call to jQuery’s ajax.
this.ajax = function( args )