Comments around some legacy functions
This commit is contained in:
parent
1469e59e97
commit
3e61a339e4
@ -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 = '<p class="title">'+Title+'</p>';
|
||||
return elementPlace("#outer_"+ID,ID,Class,Element);
|
||||
}
|
||||
/// end of legacy
|
||||
|
||||
function numberShorten (Value,Accuricy) {
|
||||
var level = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user