diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-02-10 10:17:50 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-02-10 10:17:50 +0800 |
commit | 65c84ac4b2a8a4355bff63690d34e52a4a45a561 (patch) | |
tree | 69c02a96a370d8444655d0b6b72899ec69d07dfe /gulpfile.js | |
parent | 1d0fcf129c8bd7174aecccca3acf54ee83215d19 (diff) | |
download | tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.gz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.bz2 tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.lz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.xz tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.tar.zst tangerine-wallet-browser-65c84ac4b2a8a4355bff63690d34e52a4a45a561.zip |
Delete all code related to disclaimers.
Diffstat (limited to 'gulpfile.js')
-rw-r--r-- | gulpfile.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/gulpfile.js b/gulpfile.js index 1ea431aef..fe223adf1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -18,14 +18,8 @@ var path = require('path') var manifest = require('./app/manifest.json') var gulpif = require('gulp-if') var replace = require('gulp-replace') -var disclaimer = fs.readFileSync(path.join(__dirname, 'USER_AGREEMENT.md')).toString() -var crypto = require('crypto') -var hash = crypto.createHash('sha256') var mkdirp = require('mkdirp') -hash.update(disclaimer) -var tosHash = hash.digest('hex') - var disableLiveReload = gutil.env.disableLiveReload var debug = gutil.env.debug @@ -307,7 +301,6 @@ function bundleTask(opts) { // convert bundle stream to gulp vinyl stream .pipe(source(opts.filename)) // inject variables into bundle - .pipe(replace('GULP_TOS_HASH', tosHash)) .pipe(replace('\'GULP_METAMASK_DEBUG\'', debug)) // buffer file contents (?) .pipe(buffer()) |