Use newest (unreleased) otr.js so that we can specify paths ourselves
This commit is contained in:
parent
e85eb66771
commit
8f14c32b48
@ -96,7 +96,7 @@ module.exports = function(grunt) {
|
||||
var done = this.async();
|
||||
var child_process = require('child_process');
|
||||
var exec = child_process.exec;
|
||||
exec('./node_modules/.bin/bower update && cd ./components/strophe && make normal',
|
||||
exec('./node_modules/.bin/bower update && cd ./components/strophe && make normal && cd ../otr && npm install && make build',
|
||||
function (err, stdout, stderr) {
|
||||
if (err) {
|
||||
grunt.log.write('build failed with error code '+err.code);
|
||||
|
@ -17,7 +17,7 @@
|
||||
"strophe.vcard": "https://raw.github.com/jcbrand/strophejs-plugins/75c8693992bc357c699b6d615eeb396e799f5c02/vcard/strophe.vcard.js",
|
||||
"strophe.disco": "https://raw.github.com/jcbrand/strophejs-plugins/75c8693992bc357c699b6d615eeb396e799f5c02/disco/strophe.disco.js",
|
||||
"strophe.muc": "https://raw.github.com/jcbrand/strophejs-plugins/75c8693992bc357c699b6d615eeb396e799f5c02/muc/strophe.muc.js",
|
||||
"otr": "~0.2.5",
|
||||
"otr": "https://github.com/arlolra/otr.git#e6cc5c247569df1118de8dd86ee57c2d1b3ce91e",
|
||||
"crypto-js": "~3.1.2",
|
||||
"almond": "~0.2.6"
|
||||
},
|
||||
|
@ -13,7 +13,7 @@
|
||||
}
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define("converse", [
|
||||
"components/otr/build/otr",
|
||||
"otr",
|
||||
"crypto.aes",
|
||||
"locales",
|
||||
"backbone.localStorage",
|
||||
|
5
main.js
5
main.js
@ -11,6 +11,11 @@ require.config({
|
||||
"strophe.roster": "components/strophe.roster/index",
|
||||
"strophe.vcard": "components/strophe.vcard/index",
|
||||
"strophe.disco": "components/strophe.disco/index",
|
||||
"otr": "components/otr/build/otr",
|
||||
"bigint": "components/otr/build/dep/bigint",
|
||||
"crypto": "components/otr/build/dep/crypto",
|
||||
"eventemitter": "components/otr/build/dep/eventemitter",
|
||||
"salsa20": "components/otr/build/dep/salsa20",
|
||||
"crypto.aes": "components/crypto-js/build/rollups/aes"
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user