Compile curve25519/webcrypto into libtextsecure.js
This commit is contained in:
parent
07899557dc
commit
5785f4033c
10 changed files with 2895 additions and 22 deletions
|
@ -31,7 +31,7 @@ module.exports = function(grunt) {
|
|||
'build/curve25519_compiled.js',
|
||||
'build/curve25519.js',
|
||||
],
|
||||
dest: 'js/curve25519_compiled.js',
|
||||
dest: 'libtextsecure/curve25519_concat.js',
|
||||
options: {
|
||||
banner: ';(function(){\n',
|
||||
footer: '\n})();'
|
||||
|
@ -49,7 +49,7 @@ module.exports = function(grunt) {
|
|||
'components/cryptojs/src/aes.js',
|
||||
'build/webcrypto.js'
|
||||
],
|
||||
dest: 'js/webcrypto.js',
|
||||
dest: 'libtextsecure/webcrypto_concat.js',
|
||||
options: {
|
||||
banner: ';(function(){\n',
|
||||
footer: '\n})();'
|
||||
|
@ -65,6 +65,10 @@ module.exports = function(grunt) {
|
|||
},
|
||||
libtextsecure: {
|
||||
src: [
|
||||
'libtextsecure/curve25519_concat.js',
|
||||
'libtextsecure/nativeclient.js',
|
||||
'libtextsecure/webcrypto_concat.js',
|
||||
|
||||
'libtextsecure/protobufs.js',
|
||||
'libtextsecure/websocket.js',
|
||||
'libtextsecure/websocket-resources.js',
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
<html>
|
||||
<head>
|
||||
<script type="text/javascript" src="js/components.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/curve25519_compiled.js"></script>
|
||||
<script type="text/javascript" src="js/nativeclient.js"></script>
|
||||
<script type="text/javascript" src="js/webcrypto.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/libtextsecure.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/database.js"></script>
|
||||
|
|
|
@ -131,10 +131,6 @@
|
|||
</script>
|
||||
<script type="text/javascript" src="js/components.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/curve25519_compiled.js"></script>
|
||||
<script type="text/javascript" src="js/nativeclient.js"></script>
|
||||
<script type="text/javascript" src="js/webcrypto.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/libtextsecure.js"></script>
|
||||
<script type="text/javascript" src="js/database.js"></script>
|
||||
|
||||
|
|
2886
js/libtextsecure.js
2886
js/libtextsecure.js
File diff suppressed because one or more lines are too long
|
@ -34,9 +34,9 @@
|
|||
|
||||
<script type="text/javascript" src="../components.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../../js/curve25519_compiled.js"></script>
|
||||
<script type="text/javascript" src="../../js/nativeclient.js"></script>
|
||||
<script type="text/javascript" src="../../js/webcrypto.js"></script>
|
||||
<script type="text/javascript" src="../curve25519_concat.js"></script>
|
||||
<script type="text/javascript" src="../nativeclient.js"></script>
|
||||
<script type="text/javascript" src="../webcrypto_concat.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../protobufs.js" data-cover></script>
|
||||
<script type="text/javascript" src="../websocket.js" data-cover></script>
|
||||
|
|
|
@ -96,10 +96,6 @@
|
|||
</div>
|
||||
<script type="text/javascript" src="js/components.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/curve25519_compiled.js"></script>
|
||||
<script type="text/javascript" src="js/nativeclient.js"></script>
|
||||
<script type="text/javascript" src="js/webcrypto.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/libtextsecure.js"></script>
|
||||
|
||||
<script type="text/javascript" src="js/database.js"></script>
|
||||
|
|
|
@ -125,10 +125,6 @@
|
|||
|
||||
<script type="text/javascript" src="../js/components.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../js/curve25519_compiled.js"></script>
|
||||
<script type="text/javascript" src="../js/nativeclient.js"></script>
|
||||
<script type="text/javascript" src="../js/webcrypto.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../js/libtextsecure.js"></script>
|
||||
|
||||
<script type="text/javascript" src="../js/libphonenumber-util.js"></script>
|
||||
|
|
Loading…
Reference in a new issue