Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
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
Alexandra Rogova
jio_mebibou
Commits
3a82e65b
Commit
3a82e65b
authored
Jul 17, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gidstorage fix jslint errors
parent
f6093f62
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/jio.storage/gidstorage.js
src/jio.storage/gidstorage.js
+3
-4
No files found.
src/jio.storage/gidstorage.js
View file @
3a82e65b
...
@@ -313,7 +313,7 @@
...
@@ -313,7 +313,7 @@
"
query
"
:
complex_query
,
"
query
"
:
complex_query
,
"
wildcard_character
"
:
null
"
wildcard_character
"
:
null
},
function
(
response
)
{
},
function
(
response
)
{
var
doc
,
update_method
=
method
;
var
update_method
=
method
;
if
(
response
.
total_rows
!==
0
)
{
if
(
response
.
total_rows
!==
0
)
{
if
(
method
===
'
post
'
)
{
if
(
method
===
'
post
'
)
{
return
that
.
error
({
return
that
.
error
({
...
@@ -323,10 +323,9 @@
...
@@ -323,10 +323,9 @@
"
message
"
:
"
Cannot post document
"
,
"
message
"
:
"
Cannot post document
"
,
"
reason
"
:
"
Document already exist
"
"
reason
"
:
"
Document already exist
"
});
});
}
else
{
doc
=
command
.
cloneDoc
();
doc
.
_id
=
response
.
rows
[
0
].
id
;
}
}
doc
=
command
.
cloneDoc
();
doc
.
_id
=
response
.
rows
[
0
].
id
;
}
else
{
}
else
{
doc
=
command
.
cloneDoc
();
doc
=
command
.
cloneDoc
();
delete
doc
.
_id
;
delete
doc
.
_id
;
...
...
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