Fixed assorted inspection errors

This commit is contained in:
Jeff Parsons 2016-12-21 17:37:01 -08:00 committed by Jeff Parsons
commit a03f076355
5 changed files with 9 additions and 7 deletions

View file

@ -29,7 +29,7 @@
"use strict";
import Str from "../../shared/es6/strlib";
import Component from "../..shared/es6/component";
import Component from "../../shared/es6/component";
/**
* Debugger Address Object

View file

@ -553,9 +553,9 @@ class Str {
*/
static toASCIICode(b)
{
var s = (b != Str.ASCII.CR && b != Str.ASCII.LF ? Str.aASCIICodes[b] : null);
if (s) {
s = '<' + s + '>';
var s;
if (b != Str.ASCII.CR && b != Str.ASCII.LF) {
s = '<' + Str.aASCIICodes[b] + '>';
} else {
s = String.fromCharCode(b);
}