Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
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
Xiaohe Cao
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 @@
...
@@ -51,7 +51,7 @@
return
fakeRevision
;
return
fakeRevision
;
};
};
that
.
post
=
function
(
command
)
{
that
.
post
=
function
(
command
)
{
setTimeout
(
function
()
{
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) {
...
@@ -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.
...
...
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