Commit 6c2fcc28 authored by Tristan Cavelier's avatar Tristan Cavelier

add jio dependency 'sha256'

parent 5910a7e9
...@@ -7,5 +7,8 @@ ...@@ -7,5 +7,8 @@
return module(exports); return module(exports);
} }
window.jIO = {}; window.jIO = {};
module(window.jIO); module(window.jIO, {hex_sha256: hex_sha256});
}(['exports'], function (exports) { }(['exports', 'sha256'], function (exports, sha256) {
"use strict";
var hex_sha256 = sha256.hex_sha256;
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<script src="../lib/qunit/qunit.js"></script> <script src="../lib/qunit/qunit.js"></script>
<script src="../lib/sinon/sinon.js"></script> <script src="../lib/sinon/sinon.js"></script>
<script src="../lib/sinon/sinon-qunit.js"></script> <script src="../lib/sinon/sinon-qunit.js"></script>
<script src="../src/sha256.amd.js"></script>
<script src="../jio.js"></script> <script src="../jio.js"></script>
<script src="jio/util.js"></script> <script src="jio/util.js"></script>
<script src="jio/fakestorage.js"></script> <script src="jio/fakestorage.js"></script>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
require.config({ require.config({
"paths": { "paths": {
"sha256": "../src/sha256.amd",
"jio": "../jio", "jio": "../jio",
"jio_tests": "jio/tests", "jio_tests": "jio/tests",
......
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