| $#! | |
| _deleteSimple, RemoteStorage. | |
| _getFolder, RemoteStorage. | |
| _getMetadata, RemoteStorage. | |
| _request, RemoteStorage. | |
| _shareIfNeeded, RemoteStorage. | |
| _uploadSimple, RemoteStorage. | |
| A | |
| addEventListener, eventhandling | |
| C | |
| cachingLayer, cachinglayer | |
| checkPath, RemoteStorage. | |
| claim, RemoteStorage. | |
| configure, RemoteStorage. | |
| connect | |
| D | |
| declareType, RemoteStorage. | |
| defineModule, RemoteStorage | |
| delete, RemoteStorage. | |
| disable, RemoteStorage. | |
| disableLog, RemoteStorage | |
| disconnect, RemoteStorage | |
| display | |
| displayWidget | |
| E | |
| enable, RemoteStorage. | |
| enableLog, RemoteStorage | |
| eventHandling, eventhandling | |
| F | |
| fetchDelta, RemoteStorage. | |
| fixArrayBuffers, RemoteStorage.Util | |
| G | |
| get | |
| getAll, RemoteStorage. | |
| getBackgroundSyncInterval, RemoteStorage.Sync | |
| getCurrentSyncInterval, RemoteStorage.Sync | |
| getFile, RemoteStorage. | |
| getItemURL, RemoteStorage. | |
| getListing, RemoteStorage. | |
| getObject, RemoteStorage. | |
| getSyncInterval, RemoteStorage.Sync | |
| H | |
| hasFeature, RemoteStorage | |
| hideBubble, RemoteStorage. | |
| I | |
| info, RemoteStorage. | |
| J | |
| justDelete, LowerCaseCache | |
| justSet, LowerCaseCache | |
| L | |
| log | |
| O | |
| on, eventhandling. | |
| onActivate, RemoteStorage. | |
| onChange, RemoteStorage | |
| P | |
| propagateDelete, LowerCaseCache | |
| propagateSet, LowerCaseCache | |
| put, RemoteStorage. | |
| R | |
| remove, RemoteStorage. | |
| removeEventListener, eventhandling | |
| reset, RemoteStorage. | |
| RS#scope, RemoteStorage. |
Deletes a file or a folder.
_deleteSimple: function ( path )
Get all items in a folder.
_getFolder: function ( path, options )
Gets metadata for a path (can point to either a file or a folder).
_getMetadata: function ( path, options )
Make a HTTP request.
_request: function ( method, url, options )
Calls share, if the provided path resides in a public folder.
_shareIfNeeded: function ( path )
Upload a simple file (the size is no more than 150MB).
_uploadSimple: function ( params )
Install an event handler for the given event name
addEventListener: function ( eventName, handler )
Mixes common caching layer functionality into an object.
RemoteStorage.cachingLayer = function ( object )
Retrieve caching setting for a given path, or its next parent with a caching strategy set.
checkPath: function ( path )
Claim access on a given scope with given mode.
claim: function( scope, mode )
Sets the userAddress, href, storageApi, token, and properties of a remote store.
configure: function ( settings )
Connect to a remoteStorage server.
connect: function ( userAddress, token )
Set the backed to ‘dropbox’ and start the authentication flow in order to obtain an API token from Dropbox.
connect: function ()
Method for defining a new remoteStorage data module
RemoteStorage.defineModule = function ( moduleName, builder )
Compatible with RemoteStorage.WireClient.delete
'delete': function ( path, options )
Disable caching for a given path.
disable: function ( path )
Disable remoteStorage logging
disableLog: function ()
“Disconnect” from remotestorage server to terminate current session.
disconnect: function ()
Displays the widget via the view.display method
display: function ( options )
Draw the widget inside of the dom element with the id options.domID
display: function ( options )
Same as display
RemoteStorage.prototype.displayWidget = function ( options )
Enable caching for a given path.
enable: function ( path )
Enable remoteStorage logging.
enableLog: function ()
Mixes event handling functionality into an object.
RemoteStorage.eventHandling = function ( object )
Fetches the revision of all the files from dropbox API and puts them into _revCache.
fetchDelta: function ()
Takes an object and its copy as produced by the _deepClone function below, and finds and fixes any ArrayBuffers that were cast to `{}` instead of being cloned to new ArrayBuffers with the same content.
function fixArrayBuffers( srcObj, dstObj )
Get a value from the cache or defaultValue, if the key is not in the cache.
get : function ( key )
Compatible with RemoteStorage.WireClient.get
get: function ( path, options )
Get all objects directly below a given path.
getAll: function ( path, maxAge )
Get the value of the sync interval when application is in the background
RemoteStorage.prototype.getBackgroundSyncInterval = function ()
Get the value of the current sync interval
RemoteStorage.prototype.getCurrentSyncInterval = function ()
Get the file at the given path.
getFile: function ( path, maxAge )
Retrieve full URL of item
getItemURL: function ( path )
Get a list of child nodes below a given path.
getListing: function ( path, maxAge )
Get a JSON object from given path.
getObject: function ( path, maxAge )
Get the value of the sync interval when application is in the foreground
RemoteStorage.prototype.getSyncInterval = function ()
Checks whether a feature is enabled or not within remoteStorage.
hasFeature: function ( feature )
Hide the bubble
hideBubble: function ()
Fetches the user’s info from dropbox and returns a promise for it.
info: function ()
Delete a value without propagating.
justDelete : function ( key, value )
Set a value without propagating.
justSet : function ( key, value )
The same as RemoteStorage.log.
log: function ()
Log using console.log, when remoteStorage logging is enabled.
RemoteStorage.log = function ()
Set a callback for when caching is activated for a path.
onActivate: function ( cb )
Add a “change” event handler to the given path.
onChange: function ( path, handler )
Delete a value and propagate the changes to the parent folders.
propagateDelete : function ( key )
Set a value and also update the parent folders with that value.
propagateSet : function ( key, value )
Compatible with RemoteStorage.WireClient
put: function ( path, body, contentType, options )
Remove node at given path from storage.
remove: function ( path )
Remove a previously installed event handler
removeEventListener: function ( eventName, handler )
Reset the state of caching by deleting all caching information.
reset: function ()