From 3e61a339e44b628f5b73c8a13b1bc2a790f54b8a Mon Sep 17 00:00:00 2001 From: bluesaxman Date: Tue, 22 Mar 2022 15:17:00 -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 52c7a35..21dc2df 100644 --- a/libs/bluecore.js +++ b/libs/bluecore.js @@ -49,6 +49,7 @@ function getHTMLfrag(url,targetNode) { getData(url,addHTMLfrag,target); } +/// Legacy functions for backwards compatibility, no reason for this abstraction function elementMake (ID,Class,element) { //new and improved, I can use more than just divs for things now. ID = "string" == typeof ID ? ID.replace(/ /g,"_") : ID; return (function (myElement) { @@ -84,6 +85,7 @@ function titledContainer (ParentID,ID,Class,Element,Position,Title) { outer.innerHTML = '

'+Title+'

'; return elementPlace("#outer_"+ID,ID,Class,Element); } +/// end of legacy function numberShorten (Value,Accuricy) { var level = 0;