Commit 3fd058c3 authored by Sven Franck's avatar Sven Franck

correct typos

parent 90b51d10
......@@ -116,7 +116,7 @@
that.success({
ok:true,
id:command.getDocId(),
rev:generateRevision(command, "get", true)
rev:generateRevision(command, "remove", true)
});
}, 100);
}; // end remove
......
......@@ -217,7 +217,7 @@ var newLocalStorage = function (spec, my) {
return priv.manageOptions(
{ok:true,id:document_id,rev:document_rev}, command, doc);
}
};
// ===================== overrides ======================
that.serialized = function () {
......@@ -266,7 +266,7 @@ var newLocalStorage = function (spec, my) {
setTimeout(function () {
var docid = command.getDocId(),
path = 'jio/local/'+priv.username+'/'+
priv.applicationname+'/'+docid
priv.applicationname+'/'+docid,
doc = localstorage.getItem(path);
if (!doc) {
......@@ -289,7 +289,7 @@ var newLocalStorage = function (spec, my) {
*/
that._putAttachment = function (command) {
setTimeout(function () {
that.success(priv.setDocument(command), 'put');
that.success(priv.setDocument(command, 'put');
});
};
......@@ -322,7 +322,7 @@ var newLocalStorage = function (spec, my) {
*/
that._remove = function (command) {
setTimeout (function () {
localStorage.deleteItem( command.docId ) );
that.success( priv.deleteDocument(command) );
});
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment