minor fixes

This commit is contained in:
Steven Hugg 2018-10-02 09:44:34 -04:00
parent 13254bebd5
commit da95e0ff5c
4 changed files with 8 additions and 10 deletions

View File

@ -168,7 +168,7 @@ a.dropdown-toggle {
color:#66ee66;
padding:3px;
}
// http://stackoverflow.com/questions/18023493/bootstrap-3-dropdown-sub-menu-missing
/* http://stackoverflow.com/questions/18023493/bootstrap-3-dropdown-sub-menu-missing */
.dropdown-submenu {
position:relative;
}

View File

@ -69,12 +69,10 @@ TODO:
- C/asm formatter
- fix WebAudio (https://news.ycombinator.com/item?id=18066474)
- Safari: verilog scope doesn't work
<<<<<<< HEAD
- share playable link w/ verilog?
- pixedit Sprite Rotation bitmap wrong (bpw?)
=======
- no errors for verilog inline asm
>>>>>>> 951088dd3b2f4cea5bb8ef5dfc8ea728fee3bbd7
- no errors for verilog inline asm?
- allow download of JSASM output
WEB WORKER FORMAT

View File

@ -65,7 +65,7 @@ export class WaveformView {
var s = this.meta[row].label;
var linediv = document.createElement("div");
var canvas = document.createElement("canvas");
canvas.width = width - 4;
canvas.width = width - 12;
canvas.height = rowHeight;
linediv.appendChild(canvas); //document.createTextNode(s));
linediv.classList.add('waverow');

View File

@ -365,14 +365,14 @@ var Assembler = function(spec : AssemblerSpec) {
}
}
/*
// Main
declare var module;
/*
declare var module, require;
if (typeof module !== 'undefined' && require.main === module) {
var fs = require('fs');
var stdinBuffer = fs.readFileSync(0);
var code = stdinBuffer.toString();
var asm = new Assembler();
var asm = new (Assembler as any)();
asm.loadJSON = function(filename) {
return JSON.parse(fs.readFileSync(filename, 'utf8'));
};
@ -386,4 +386,4 @@ if (typeof module !== 'undefined' && require.main === module) {
var out = asm.assembleFile(code);
console.log(out);
}
*/
*/