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
Nicolas Wavrant
jio
Commits
bbb8f75e
Commit
bbb8f75e
authored
Jan 08, 2013
by
Tristan Cavelier
Committed by
Sven Franck
Jan 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
storages are no longer concatenate to one single file
parent
2dd5aa9e
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
7 additions
and
33 deletions
+7
-33
src/jio.storage/Makefile
src/jio.storage/Makefile
+0
-7
src/jio.storage/conflictmanagerstorage.js
src/jio.storage/conflictmanagerstorage.js
+1
-2
src/jio.storage/cryptstorage.js
src/jio.storage/cryptstorage.js
+1
-2
src/jio.storage/davstorage.js
src/jio.storage/davstorage.js
+1
-2
src/jio.storage/indexstorage.js
src/jio.storage/indexstorage.js
+1
-2
src/jio.storage/intro.js
src/jio.storage/intro.js
+0
-12
src/jio.storage/localstorage.js
src/jio.storage/localstorage.js
+2
-3
src/jio.storage/outro.js
src/jio.storage/outro.js
+0
-1
src/jio.storage/replicatestorage.js
src/jio.storage/replicatestorage.js
+1
-2
No files found.
src/jio.storage/Makefile
deleted
100644 → 0
View file @
2dd5aa9e
auto
:
grunt
check-syntax
:
grunt
grunt
:
make
-C
../../grunt/
*
_gruntJIOStorage
>
/dev/null 2>&1
src/jio.storage/conflictmanagerstorage.js
View file @
bbb8f75e
var
newConflictManagerStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
conflictmanager
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
...
@@ -903,4 +903,3 @@ var newConflictManagerStorage = function ( spec, my ) {
...
@@ -903,4 +903,3 @@ var newConflictManagerStorage = function ( spec, my ) {
return
that
;
return
that
;
};
};
jIO
.
addStorageType
(
'
conflictmanager
'
,
newConflictManagerStorage
);
src/jio.storage/cryptstorage.js
View file @
bbb8f75e
var
newCryptedStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
crypt
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
...
@@ -259,4 +259,3 @@ var newCryptedStorage = function ( spec, my ) {
...
@@ -259,4 +259,3 @@ var newCryptedStorage = function ( spec, my ) {
return
that
;
return
that
;
};
};
jIO
.
addStorageType
(
'
crypt
'
,
newCryptedStorage
);
src/jio.storage/davstorage.js
View file @
bbb8f75e
var
newDAVStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
dav
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
...
@@ -369,4 +369,3 @@ var newDAVStorage = function ( spec, my ) {
...
@@ -369,4 +369,3 @@ var newDAVStorage = function ( spec, my ) {
return
that
;
return
that
;
};
};
jIO
.
addStorageType
(
'
dav
'
,
newDAVStorage
);
src/jio.storage/indexstorage.js
View file @
bbb8f75e
var
newIndexStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
indexed
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
...
@@ -205,4 +205,3 @@ var newIndexStorage = function ( spec, my ) {
...
@@ -205,4 +205,3 @@ var newIndexStorage = function ( spec, my ) {
return
that
;
return
that
;
};
};
jIO
.
addStorageType
(
'
indexed
'
,
newIndexStorage
);
src/jio.storage/intro.js
deleted
100644 → 0
View file @
2dd5aa9e
/**
* Adds 6 storages to JIO.
* - LocalStorage ('local')
* - DAVStorage ('dav')
* - ReplicateStorage ('replicate')
* - IndexedStorage ('indexed')
* - CryptedStorage ('crypted')
* - ConflictManagerStorage ('conflictmanager')
*
* @module JIOStorages
*/
(
function
(
jIO
,
$
,
Base64
,
sjcl
,
hex_sha256
)
{
src/jio.storage/localstorage.js
View file @
bbb8f75e
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* JIO Local Storage. Type = 'local'.
* JIO Local Storage. Type = 'local'.
* Local browser "database" storage.
* Local browser "database" storage.
*/
*/
var
newLocalStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
local
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
,
priv
,
localstorage
;
var
that
,
priv
,
localstorage
;
...
@@ -335,5 +335,4 @@ var newLocalStorage = function (spec, my) {
...
@@ -335,5 +335,4 @@ var newLocalStorage = function (spec, my) {
};
};
return
that
;
return
that
;
};
});
jIO
.
addStorageType
(
'
local
'
,
newLocalStorage
);
src/jio.storage/outro.js
deleted
100644 → 0
View file @
2dd5aa9e
}(
jIO
,
jQuery
,
Base64
,
sjcl
,
hex_sha256
));
src/jio.storage/replicatestorage.js
View file @
bbb8f75e
var
newReplicateStorage
=
function
(
spec
,
my
)
{
jIO
.
addStorageType
(
'
replicate
'
,
function
(
spec
,
my
)
{
spec
=
spec
||
{};
spec
=
spec
||
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
var
that
=
my
.
basicStorage
(
spec
,
my
),
priv
=
{};
...
@@ -102,4 +102,3 @@ var newReplicateStorage = function ( spec, my ) {
...
@@ -102,4 +102,3 @@ var newReplicateStorage = function ( spec, my ) {
return
that
;
return
that
;
};
};
jIO
.
addStorageType
(
'
replicate
'
,
newReplicateStorage
);
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