From a22dcc986f745977691da4f1273ead3b2fab6bcf Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Tue, 13 Jul 2021 15:28:24 -0700 Subject: [PATCH] Remove libtextsecure/components.js --- Gruntfile.js | 14 -------------- bower.json | 5 ----- libtextsecure/test/index.html | 1 - ts/util/lint/linter.ts | 1 - 4 files changed, 21 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 0ac83113e..884e7cea8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -22,12 +22,6 @@ module.exports = grunt => { components.push(bower.concat.app[i]); } - const libtextsecurecomponents = []; - // eslint-disable-next-line guard-for-in, no-restricted-syntax - for (const i in bower.concat.libtextsecure) { - libtextsecurecomponents.push(bower.concat.libtextsecure[i]); - } - grunt.loadNpmTasks('grunt-sass'); grunt.initConfig({ @@ -37,10 +31,6 @@ module.exports = grunt => { src: components, dest: 'js/components.js', }, - libtextsecurecomponents: { - src: libtextsecurecomponents, - dest: 'libtextsecure/components.js', - }, test: { src: [ 'node_modules/mocha/mocha.js', @@ -87,10 +77,6 @@ module.exports = grunt => { }, }, watch: { - libtextsecure: { - files: ['./libtextsecure/*.js', './libtextsecure/storage/*.js'], - tasks: ['concat:libtextsecure'], - }, protobuf: { files: ['./protos/SignalService.proto'], tasks: ['exec:build-protobuf'], diff --git a/bower.json b/bower.json index 6a6a22a50..d38f20bdb 100644 --- a/bower.json +++ b/bower.json @@ -39,11 +39,6 @@ "node_modules/intl-tel-input/build/js/intlTelInput.js", "components/autosize/**/*.js", "components/webaudiorecorder/lib/WebAudioRecorder.js" - ], - "libtextsecure": [ - "components/long/**/*.js", - "components/bytebuffer/**/*.js", - "components/protobuf/**/*.js" ] } } diff --git a/libtextsecure/test/index.html b/libtextsecure/test/index.html index 62f255d81..644ddf8cd 100644 --- a/libtextsecure/test/index.html +++ b/libtextsecure/test/index.html @@ -19,7 +19,6 @@ src="in_memory_signal_protocol_store.js" > -