From 0185dad07fdad4a2b6f49a0ef19d8c3f43ff53f4 Mon Sep 17 00:00:00 2001 From: Josh Polansky Date: Mon, 4 Dec 2023 12:13:27 -0800 Subject: [PATCH] Fix accidental delete during commit --- src/HMI/package.json | 2 +- src/HMI/tmplits.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/HMI/package.json b/src/HMI/package.json index ff4fbde..6a1b9d8 100644 --- a/src/HMI/package.json +++ b/src/HMI/package.json @@ -1,6 +1,6 @@ { "name": "@loupeteam/tmplits", - "version": "0.0.11", + "version": "0.0.12", "description": "", "main": "index.js", "scripts": { diff --git a/src/HMI/tmplits.js b/src/HMI/tmplits.js index 7e20980..3217747 100644 --- a/src/HMI/tmplits.js +++ b/src/HMI/tmplits.js @@ -23,6 +23,10 @@ else { window.$ = window.jQuery = jqueryImport; } +let log = function (t) { if (Tmplits.debug.loglevel == 0) { console.log(t) } }; +let warn = function (t) { if (Tmplits.debug.loglevel <= 1) { console.warn(t) } }; +let error = function (t) { if (Tmplits.debug.loglevel <= 2) { console.error(t) } }; + export class Tmplits { constructor(node_module_directory, loadedCallback) {