mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
fewer blank lines
This commit is contained in:
parent
fada8a0fab
commit
a66e3a2bfb
8 changed files with 1 additions and 9 deletions
|
|
@ -17,6 +17,7 @@ export default [
|
|||
"semi": "error",
|
||||
"no-useless-return": "error",
|
||||
"eqeqeq": "error",
|
||||
"no-multiple-empty-lines": ["error", { "max": 2, "maxBOF": 0, "maxEOF": 0 }],
|
||||
//"no-var": "error",
|
||||
"radix": "error",
|
||||
"comma-style": ["error", "last"],
|
||||
|
|
|
|||
|
|
@ -27,4 +27,3 @@ this.onmessage = function(e)
|
|||
{
|
||||
emulator.serial0_send(e.data);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -443,4 +443,3 @@ function KeyboardAdapter(bus)
|
|||
keyboard.bus.send("keyboard-code", code);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -61,4 +61,3 @@ WorkerBus.init = function(worker)
|
|||
{
|
||||
return new WorkerBus.Connector(worker);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -101,4 +101,3 @@ Bus.create = function()
|
|||
|
||||
return [c0, c1];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -143,8 +143,6 @@ CPU.prototype.debug_init = function()
|
|||
line1 = "",
|
||||
line2 = "";
|
||||
|
||||
|
||||
|
||||
for(var i = 0; i < 4; i++)
|
||||
{
|
||||
line1 += r32_names[i] + "=" + h(cpu.reg32[r32[r32_names[i]]] >>> 0, 8) + " ";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
"use strict";
|
||||
|
||||
// https://docs.oasis-open.org/virtio/virtio/v1.2/csd01/virtio-v1.2-csd01.html#x1-2900003
|
||||
|
|
@ -295,4 +294,3 @@ VirtioConsole.prototype.Ack = function (queue_id, bufchain)
|
|||
this.virtio.queues[queue_id].push_reply(bufchain);
|
||||
this.virtio.queues[queue_id].flush_replies();
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -55,4 +55,3 @@ emulator.add_listener("serial0-output-byte", function(byte)
|
|||
var chr = String.fromCharCode(byte);
|
||||
process.stdout.write(chr);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue