Properly define the crypto dependencies. Fixes #125

This commit is contained in:
JC Brand 2014-03-04 22:42:21 +02:00
parent 085234f9e8
commit c38e4f1c81
2 changed files with 22 additions and 7 deletions

View File

@ -1,6 +1,11 @@
Changelog
=========
0.7.3 (Unreleased)
------------------
* #125 Fix crypto dependencies [jcbrand]
0.7.3 (2014-02-23)
------------------

16
main.js
View File

@ -43,13 +43,23 @@ require.config({
//module value.
exports: 'Backbone'
},
'underscore': { exports: '_' },
'crypto.aes': { deps: ['crypto.cipher-core'] },
'crypto.cipher-core': { deps: ['crypto.enc-base64', 'crypto.evpkdf'] },
'crypto.enc-base64': { deps: ['crypto.core'] },
'crypto.evpkdf': { deps: ['crypto.md5'] },
'crypto.hmac': { deps: ['crypto.core'] },
'crypto.md5': { deps: ['crypto.core'] },
'crypto.mode-ctr': { deps: ['crypto.cipher-core'] },
'crypto.pad-nopadding': { deps: ['crypto.cipher-core'] },
'crypto.sha1': { deps: ['crypto.core'] },
'crypto.sha256': { deps: ['crypto.core'] },
'jquery.tinysort': { deps: ['jquery'] },
'strophe': { deps: ['jquery'] },
'underscore': { exports: '_' },
'strophe.disco': { deps: ['strophe'] },
'strophe.muc': { deps: ['strophe', 'jquery'] },
'strophe.roster': { deps: ['strophe'] },
'strophe.vcard': { deps: ['strophe'] },
'strophe.disco': { deps: ['strophe'] }
'strophe.vcard': { deps: ['strophe'] }
}
});