Browse Source

Tidy up some jshint warnings in the server

dev/git-series/gccdum
Matt Godbolt 6 years ago
parent
commit
c9b8f5aad3
  1. 1
      lib/asm.js
  2. 2
      lib/properties.js
  3. 2
      lib/restreamer.js

1
lib/asm.js

@ -41,7 +41,6 @@
var fileFind = /^\s*\.file\s+(\d+)\s+"([^"]+)".*/;
var hasOpcode = /^\s*([a-zA-Z$_][a-zA-Z0-9$_.]*:\s*)?[a-zA-Z].*/;
var labelDef = /^([.a-zA-Z_][a-zA-Z0-9$_.]+):/;
var hasOpcode = /^\s*([a-zA-Z$_][a-zA-Z0-9$_.]*:\s*)?[a-zA-Z].*/;
function findUsedLabels(asmLines, filterDirectives) {
var labelsUsed = {};

2
lib/properties.js

@ -40,7 +40,7 @@ function debug(string) {
}
function debug_show_properties() {
console.log("props.properties =" + JSON.stringify(properties,null,4))
console.log("props.properties =" + JSON.stringify(properties,null,4));
}
function get(base, property, defaultValue) {

2
lib/restreamer.js

@ -19,5 +19,5 @@ module.exports = function (options) {
req.emit('end');
});
next();
}
};
};

Loading…
Cancel
Save