package: restore build-js script
This commit is contained in:
parent
e1a7af38b1
commit
d84bba12e2
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ var browserify = require('browserify'),
|
|||
var b = browserify(path.resolve(__dirname + '/../src/browser/js/browser.js'), {debug:true});
|
||||
|
||||
b.transform(babelify, {presets: ["es2015"], plugins: ["transform-object-rest-spread"]})
|
||||
// .transform('uglifyify')
|
||||
.transform('uglifyify')
|
||||
.bundle()
|
||||
// .pipe(exorcist(path.resolve(__dirname + '/../app/browser/scripts.js.map')))
|
||||
.pipe(exorcist(path.resolve(__dirname + '/../app/browser/scripts.js.map')))
|
||||
.pipe(process.stdout)
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ var DisplayKnob = class extends Knob {
|
|||
this.ctx.beginPath()
|
||||
this.ctx.fillStyle = this.colors.raised
|
||||
this.ctx.strokeStyle = this.colors.raised
|
||||
this.ctx.arc(this.width / 2, this.height / 2, this.minDimension / 2 - this.gaugeWidth * 1.5, 0, Math.PI * 2)
|
||||
this.ctx.arc(this.width / 2, this.height / 2, this.minDimension / 2 - this.gaugeWidth * 2, 0, Math.PI * 2)
|
||||
this.ctx.fill()
|
||||
this.ctx.globalAlpha = 0.3
|
||||
this.ctx.lineWidth = 1.1 * PXSCALE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue