Properly define the crypto dependencies. Fixes #125
This commit is contained in:
parent
c2b7caaedf
commit
2094ca1207
16
main.js
16
main.js
@ -54,13 +54,23 @@ config = {
|
|||||||
//module value.
|
//module value.
|
||||||
exports: 'Backbone'
|
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'] },
|
'jquery.tinysort': { deps: ['jquery'] },
|
||||||
'strophe': { deps: ['jquery'] },
|
'strophe': { deps: ['jquery'] },
|
||||||
'underscore': { exports: '_' },
|
'strophe.disco': { deps: ['strophe'] },
|
||||||
'strophe.muc': { deps: ['strophe', 'jquery'] },
|
'strophe.muc': { deps: ['strophe', 'jquery'] },
|
||||||
'strophe.roster': { deps: ['strophe'] },
|
'strophe.roster': { deps: ['strophe'] },
|
||||||
'strophe.vcard': { deps: ['strophe'] },
|
'strophe.vcard': { deps: ['strophe'] }
|
||||||
'strophe.disco': { deps: ['strophe'] }
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user