Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
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
Hardik Juneja
jio-main
Commits
f5c25e0c
Commit
f5c25e0c
authored
Apr 17, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add schema to query storage + local storage
parent
99577d27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
test/jio.storage/querystorage.tests.js
test/jio.storage/querystorage.tests.js
+9
-5
No files found.
test/jio.storage/querystorage.tests.js
View file @
f5c25e0c
...
...
@@ -8,7 +8,7 @@
if
(
typeof
define
===
'
function
'
&&
define
.
amd
)
{
return
define
(
dependencies
,
module
);
}
module
(
test_util
,
RSVP
,
jIO
,
local_storage
);
module
(
test_util
,
RSVP
,
jIO
);
}([
'
test_util
'
,
'
rsvp
'
,
...
...
@@ -16,15 +16,19 @@
'
localstorage
'
,
'
qunit
'
,
'
querystorage
'
],
function
(
test_util
,
RSVP
,
jIO
,
local_storage
)
{
],
function
(
test_util
,
RSVP
,
jIO
)
{
"
use strict
"
;
module
(
"
QueryStorage
"
);
function
createQueryStorage
(
name
,
key_schema
)
{
var
local_description
=
local_storage
.
createDescription
(
name
,
name
,
'
memory
'
);
var
local_description
=
{
"
type
"
:
"
local
"
,
"
username
"
:
name
,
"
application_name
"
:
name
,
"
mode
"
:
"
memory
"
,
"
key_schema
"
:
key_schema
};
return
jIO
.
createJIO
({
type
:
'
query
'
,
sub_storage
:
local_description
,
...
...
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