mirror of
https://forge.murkfall.net/bluesaxman/blue.js.git
synced 2026-03-13 09:34:20 -06:00
Comments around some legacy functions
This commit is contained in:
@@ -99,6 +99,7 @@ function numberShorten (Value,Accuricy) {
|
|||||||
return (Math.floor(number*places)/places)+unit[level];
|
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) {
|
function buttonAdd (ParentID,ID,Label,Action,Class,Element) {
|
||||||
if ( "undefined" == typeof Class ) { Class = ""; }
|
if ( "undefined" == typeof Class ) { Class = ""; }
|
||||||
if ( "undefined" == typeof Element) { Element = "div"; }
|
if ( "undefined" == typeof Element) { Element = "div"; }
|
||||||
@@ -150,3 +151,4 @@ function popupDialog (ID, title, closeable, contentGen, genArgs, callback) {
|
|||||||
buttonAdd("#"+ID+"_content",null,"Close",callback);
|
buttonAdd("#"+ID+"_content",null,"Close",callback);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/// end of legacy
|
||||||
|
|||||||
Reference in New Issue
Block a user