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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
jio
Commits
d073d692
Commit
d073d692
authored
Aug 28, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jslint localstorage fixes
parent
c2b86647
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/jio.storage/localstorage.js
src/jio.storage/localstorage.js
+1
-0
test/jio.storage/localstorage.asynctests.js
test/jio.storage/localstorage.asynctests.js
+4
-3
No files found.
src/jio.storage/localstorage.js
View file @
d073d692
...
@@ -386,6 +386,7 @@
...
@@ -386,6 +386,7 @@
*/
*/
LocalStorage
.
prototype
.
allDocs
=
function
(
command
,
param
,
options
)
{
LocalStorage
.
prototype
.
allDocs
=
function
(
command
,
param
,
options
)
{
var
i
,
row
,
path_re
,
rows
,
document_list
,
document_object
;
var
i
,
row
,
path_re
,
rows
,
document_list
,
document_object
;
param
.
unused
=
true
;
rows
=
[];
rows
=
[];
document_list
=
[];
document_list
=
[];
path_re
=
new
RegExp
(
path_re
=
new
RegExp
(
...
...
test/jio.storage/localstorage.asynctests.js
View file @
d073d692
...
@@ -243,7 +243,7 @@
...
@@ -243,7 +243,7 @@
"
result
"
:
"
error
"
,
"
result
"
:
"
error
"
,
"
status
"
:
404
,
"
status
"
:
404
,
"
statusText
"
:
"
Not Found
"
"
statusText
"
:
"
Not Found
"
},
"
GetAttachment from inexistent document
"
)
},
"
GetAttachment from inexistent document
"
)
;
}),
}),
...
@@ -268,7 +268,7 @@
...
@@ -268,7 +268,7 @@
"
result
"
:
"
error
"
,
"
result
"
:
"
error
"
,
"
status
"
:
404
,
"
status
"
:
404
,
"
statusText
"
:
"
Not Found
"
"
statusText
"
:
"
Not Found
"
},
"
Get inexistent attachment
"
)
},
"
Get inexistent attachment
"
)
;
}),
}),
...
@@ -563,7 +563,8 @@
...
@@ -563,7 +563,8 @@
"
_attachments
"
:
{
"
_attachments
"
:
{
"
aa
"
:
{
"
aa
"
:
{
"
content_type
"
:
""
,
"
content_type
"
:
""
,
"
digest
"
:
"
sha256-9834876dcfb05cb167a5c24953eba58c4ac89b1adf57f28f2f9d09af107ee8f0
"
,
"
digest
"
:
"
sha256-9834876dcfb05cb167a5c24953eba58c4
"
+
"
ac89b1adf57f28f2f9d09af107ee8f0
"
,
"
length
"
:
3
"
length
"
:
3
}
}
},
},
...
...
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