Commit eca94a2a authored by Sven Franck's avatar Sven Franck

POST and PUT working, created global storage utils

parent 31e65d17
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
return fakeRevision; return fakeRevision;
}; };
that.post = function (command) { that.post = function (command) {
setTimeout (function () { setTimeout (function () {
......
This diff is collapsed.
This diff is collapsed.
...@@ -75,6 +75,13 @@ var command = function(spec, my) { ...@@ -75,6 +75,13 @@ var command = function(spec, my) {
that.getContent = function () { that.getContent = function () {
return priv.content; return priv.content;
}; };
/**
* @method getDoc returns the label of the command.
* @return {object} the document.
*/
that.getDoc = function() {
return priv.doc;
};
/** /**
* Returns an information about the document. * Returns an information about the document.
......
This diff is collapsed.
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