Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
jio
Commits
3fd058c3
Commit
3fd058c3
authored
Dec 21, 2012
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct typos
parent
90b51d10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/jio.dummystorages.js
src/jio.dummystorages.js
+1
-1
src/jio.storage/localstorage.js
src/jio.storage/localstorage.js
+4
-4
No files found.
src/jio.dummystorages.js
View file @
3fd058c3
...
...
@@ -116,7 +116,7 @@
that
.
success
({
ok
:
true
,
id
:
command
.
getDocId
(),
rev
:
generateRevision
(
command
,
"
get
"
,
true
)
rev
:
generateRevision
(
command
,
"
remove
"
,
true
)
});
},
100
);
};
// end remove
...
...
src/jio.storage/localstorage.js
View file @
3fd058c3
...
...
@@ -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
)
);
});
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment