js logs refactoring

This commit is contained in:
Devaev Maxim
2018-11-05 06:20:05 +03:00
parent 9f2c0dd14e
commit 43bbf725b8
6 changed files with 18 additions and 18 deletions

View File

@@ -66,7 +66,7 @@ function Hid() {
var __emitShortcut = function(codes) {
return new Promise(function(resolve) {
tools.debug("Emitting keys:", codes);
tools.debug("HID: emitting keys:", codes);
var raw_events = [];
[[codes, true], [codes.slice().reverse(), false]].forEach(function(op) {
@@ -156,7 +156,7 @@ function Hid() {
$("hid-pak-led").className = "led-yellow-rotating-fast";
$("hid-pak-led").title = "Autotyping...";
tools.debug("Paste-as-keys:", text);
tools.debug("HID: paste-as-keys:", text);
var index = 0;
var iterate = function() {