Properly define the crypto dependencies. Fixes #125

This commit is contained in:
JC Brand 2014-03-04 22:42:21 +02:00
parent c2b7caaedf
commit 2094ca1207

24
main.js
View File

@ -54,13 +54,23 @@ config = {
//module value. //module value.
exports: 'Backbone' exports: 'Backbone'
}, },
'jquery.tinysort': { deps: ['jquery'] }, 'underscore': { exports: '_' },
'strophe': { deps: ['jquery'] }, 'crypto.aes': { deps: ['crypto.cipher-core'] },
'underscore': { exports: '_' }, 'crypto.cipher-core': { deps: ['crypto.enc-base64', 'crypto.evpkdf'] },
'strophe.muc': { deps: ['strophe', 'jquery'] }, 'crypto.enc-base64': { deps: ['crypto.core'] },
'strophe.roster': { deps: ['strophe'] }, 'crypto.evpkdf': { deps: ['crypto.md5'] },
'strophe.vcard': { deps: ['strophe'] }, 'crypto.hmac': { deps: ['crypto.core'] },
'strophe.disco': { deps: ['strophe'] } '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'] },
'strophe.disco': { deps: ['strophe'] },
'strophe.muc': { deps: ['strophe', 'jquery'] },
'strophe.roster': { deps: ['strophe'] },
'strophe.vcard': { deps: ['strophe'] }
} }
}; };