use chainpad-crypto from bower and pass it into the listmap api

This commit is contained in:
ansuz
2016-06-03 18:51:31 +02:00
parent 85dbd5cb6e
commit f76dc615c0
2 changed files with 4 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
define([
'/api/config?cb=' + Math.random().toString(16).substring(2),
'/common/chainpad-listmap.js',
'/common/crypto.js',
'/bower_components/chainpad-crypto/crypto.js',
'/common/cryptpad-common.js',
//'/customize/pad.js'
], function (Config, RtListMap, Crypto, Common) {
@@ -14,6 +14,7 @@ define([
channel: secret.channel,
cryptKey: secret.key,
data: {},
crypto: Crypto
};
var module = window.APP = {};