textchecker-element
Version:
Overlay text checker web compoentns.
14 lines • 471 B
JavaScript
;
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.debug = void 0;
const debugStorageValue = (_a = localStorage.DEBUG) !== null && _a !== void 0 ? _a : "";
const DEBUG = debugStorageValue === "*" ? debugStorageValue.startsWith("@textlint") : false;
const debug = (...args) => {
if (!DEBUG) {
return;
}
console.log("[textchecker-element]", ...args);
};
exports.debug = debug;
//# sourceMappingURL=logger.js.map