From 99b366266aab08c5701bce72bbc7a6012e8e2ad7 Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Tue, 22 Mar 2022 15:19:10 -0600 Subject: [PATCH] Comments around some legacy functions --- libs/bluecore.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/bluecore.js b/libs/bluecore.js index 21dc2df..c2b9e38 100644 --- a/libs/bluecore.js +++ b/libs/bluecore.js @@ -99,6 +99,7 @@ function numberShorten (Value,Accuricy) { return (Math.floor(number*places)/places)+unit[level]; } +/// more legacy functions that are being kept purely for backwards compatability function buttonAdd (ParentID,ID,Label,Action,Class,Element) { if ( "undefined" == typeof Class ) { Class = ""; } if ( "undefined" == typeof Element) { Element = "div"; } @@ -150,3 +151,4 @@ function popupDialog (ID, title, closeable, contentGen, genArgs, callback) { buttonAdd("#"+ID+"_content",null,"Close",callback); } } +/// end of legacy