Crib Enable Interface

Interface Needed to edit with CribJS

getScope
Return url in string format. get the Scope covered by the gadget
get
Return a data url. Cannot return a blob as the data is transmitted through an iFrame
url
url of the document to retrieve
put
Return a data url. Cannot provide a blob as the data is transmitted through an iFrame
url
url of the document to update
parameter
data url of the document to put, it will be transformed in a blob
allDocs
return the list of document in the cache
option_dict
XXX Not Taken into account at the moment
remove
Remove an url from the cache
url
url of the document to update