Commit b38a48a0 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Sebastien Robin

Updating SJCL

parent 26de76ef
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<script type="text/javascript" src="src/localorcookiestorage.js"></script> <script type="text/javascript" src="src/localorcookiestorage.js"></script>
<script type="text/javascript" src="src/jio.js"></script> <script type="text/javascript" src="src/jio.js"></script>
<script type="text/javascript" src="lib/base64/base64.js"></script> <script type="text/javascript" src="lib/base64/base64.js"></script>
<script type="text/javascript" src="lib/sjcl/sjcl.js"></script> <script type="text/javascript" src="lib/sjcl/sjcl.min.js"></script>
<script type="text/javascript" src="src/jio.storage.js"></script> <script type="text/javascript" src="src/jio.storage.js"></script>
</head> </head>
<body> <body>
......
...@@ -1053,11 +1053,12 @@ test ('Document Load' , function () { ...@@ -1053,11 +1053,12 @@ test ('Document Load' , function () {
{ID:'jiotests'}); {ID:'jiotests'});
o.f = function (result) { o.f = function (result) {
if (result.status === 'done') { if (result.status === 'done') {
deepEqual (result.return_value,{name:'testload', deepEqual (result.return_value,
content:'contentoftest', {name:'testload',
last_modified:500, content:'contentoftest',
creation_date:500} last_modified:500,
,'load ok'); creation_date:500},
'load ok');
} else { } else {
ok (false ,'cannot load'); ok (false ,'cannot load');
} }
...@@ -1176,7 +1177,7 @@ if (window.requirejs) { ...@@ -1176,7 +1177,7 @@ if (window.requirejs) {
Base64: '../js/base64.requirejs_module', Base64: '../js/base64.requirejs_module',
JIODummyStorages: '../src/jio.dummystorages', JIODummyStorages: '../src/jio.dummystorages',
JIOStorages: '../src/jio.storage', JIOStorages: '../src/jio.storage',
SJCLAPI:'../lib/sjcl/sjcl', SJCLAPI:'../lib/sjcl/sjcl.min',
SJCL:'../js/sjcl.requirejs_module' SJCL:'../js/sjcl.requirejs_module'
} }
}); });
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</script> </script>
<script type="text/javascript" src="../src/jio.js"></script> <script type="text/javascript" src="../src/jio.js"></script>
<script type="text/javascript" src="../lib/base64/base64.js"></script> <script type="text/javascript" src="../lib/base64/base64.js"></script>
<script type="text/javascript" src="../lib/sjcl/sjcl.js"></script> <script type="text/javascript" src="../lib/sjcl/sjcl.min.js"></script>
<script type="text/javascript" src="../src/jio.dummystorages.js"></script> <script type="text/javascript" src="../src/jio.dummystorages.js"></script>
<script type="text/javascript" src="../src/jio.storage.js"></script> <script type="text/javascript" src="../src/jio.storage.js"></script>
<script type="text/javascript" src="jiotests.js"></script> <script type="text/javascript" src="jiotests.js"></script>
......
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