Merge pull request #41 from danikaze/local-import

Make vendor/tng to use local lib/colors
This commit is contained in:
Iuri Matias 2020-05-04 11:26:43 -04:00 committed by GitHub
commit fa63a5db0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
vendor/tng.js vendored
View File

@ -29,7 +29,7 @@ function PNG(file, options) {
if (!file) throw new Error('no file'); if (!file) throw new Error('no file');
this.options = options || {}; this.options = options || {};
this.colors = options.colors || require('blessed/lib/colors'); this.colors = options.colors || require('../lib/colors');
this.optimization = this.options.optimization || 'mem'; this.optimization = this.options.optimization || 'mem';
this.speed = this.options.speed || 1; this.speed = this.options.speed || 1;