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

add jio dependency 'sha256'

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