Commit b008e2eb authored by Tristan Cavelier's avatar Tristan Cavelier

basic dumb commands added to storage.js

parent 8594d3f0
......@@ -203,6 +203,48 @@ var storage = function(spec, my) {
return '';
};
that._post = function () {
setTimeout(function () {
that.error(that.createErrorObject(
0,"Not Implemented Yet","\"Post\" command is not implemented"
));
});
};
that._put = function () {
setTimeout(function () {
that.error(that.createErrorObject(
0,"Not Implemented Yet","\"Put\" command is not implemented"
));
});
};
that._get = function () {
setTimeout(function () {
that.error(that.createErrorObject(
0,"Not Implemented Yet","\"Get\" command is not implemented"
));
});
};
that._alldocs = function () {
setTimeout(function () {
that.error(that.createErrorObject(
0,"Not Implemented Yet",
"\"AllDocs\" command is not implemented"
));
});
};
that._remove = function () {
setTimeout(function () {
that.error(that.createErrorObject(
0,"Not Implemented Yet",
"\"Remove\" command is not implemented"
));
});
};
that.success = function() {};
that.retry = function() {};
that.error = function() {};
......
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