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
b69dfc1b
Commit
b69dfc1b
authored
Jan 08, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug: storage.js: createErrorObject method does not exist anymore
parent
eeeb06e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
21 deletions
+42
-21
src/jio/storages/storage.js
src/jio/storages/storage.js
+42
-21
No files found.
src/jio/storages/storage.js
View file @
b69dfc1b
...
@@ -84,52 +84,73 @@ var storage = function(spec, my) {
...
@@ -84,52 +84,73 @@ var storage = function(spec, my) {
that
.
post
=
function
()
{
that
.
post
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
\"
Post
\"
command is not implemented
"
"
status
"
:
0
,
));
"
statusText
"
:
"
Not Implemented
"
,
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
Post
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
that
.
put
=
function
()
{
that
.
put
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
\"
Put
\"
command is not implemented
"
"
status
"
:
0
,
));
"
statusText
"
:
"
Not Implemented
"
,
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
Put
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
that
.
putAttachment
=
function
()
{
that
.
putAttachment
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
status
"
:
0
,
"
\"
PutAttachment
\"
command is not implemented
"
"
statusText
"
:
"
Not Implemented
"
,
));
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
PutAttachment
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
that
.
get
=
function
()
{
that
.
get
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
\"
Get
\"
command is not implemented
"
"
status
"
:
0
,
));
"
statusText
"
:
"
Not Implemented
"
,
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
Get
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
that
.
allDocs
=
function
()
{
that
.
allDocs
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
status
"
:
0
,
"
\"
AllDocs
\"
command is not implemented
"
"
statusText
"
:
"
Not Implemented
"
,
));
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
AllDocs
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
that
.
remove
=
function
()
{
that
.
remove
=
function
()
{
setTimeout
(
function
()
{
setTimeout
(
function
()
{
that
.
error
(
that
.
createErrorObject
(
that
.
error
({
0
,
"
Not Implemented Yet
"
,
"
status
"
:
0
,
"
\"
Remove
\"
command is not implemented
"
"
statusText
"
:
"
Not Implemented
"
,
));
"
error
"
:
"
not_implemented
"
,
"
message
"
:
"
\"
Remove
\"
command is not implemented
"
,
"
reason
"
:
"
Command not implemented
"
});
});
});
};
};
...
...
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