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
eca94a2a
Commit
eca94a2a
authored
Dec 18, 2012
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
POST and PUT working, created global storage utils
parent
31e65d17
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
945 additions
and
483 deletions
+945
-483
src/jio.dummystorages.js
src/jio.dummystorages.js
+1
-1
src/jio.storage/intro.js
src/jio.storage/intro.js
+481
-0
src/jio.storage/localstorage.js
src/jio.storage/localstorage.js
+137
-338
src/jio/commands/command.js
src/jio/commands/command.js
+7
-0
test/jiotests.js
test/jiotests.js
+319
-144
No files found.
src/jio.dummystorages.js
View file @
eca94a2a
...
...
@@ -51,7 +51,7 @@
return
fakeRevision
;
};
that
.
post
=
function
(
command
)
{
setTimeout
(
function
()
{
...
...
src/jio.storage/intro.js
View file @
eca94a2a
This diff is collapsed.
Click to expand it.
src/jio.storage/localstorage.js
View file @
eca94a2a
This diff is collapsed.
Click to expand it.
src/jio/commands/command.js
View file @
eca94a2a
...
...
@@ -75,6 +75,13 @@ var command = function(spec, my) {
that
.
getContent
=
function
()
{
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.
...
...
test/jiotests.js
View file @
eca94a2a
This diff is collapsed.
Click to expand it.
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