Ver código fonte

Adding comments to crfHTML

Andrej 3 dias atrás
pai
commit
6b85955a27
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      web/crf/crfHTML.js

+ 1 - 0
web/crf/crfHTML.js

@@ -97,6 +97,7 @@ function(el,text){
 
 crfHTML.createDiv=
 function(divId=null,id=null,el=null){
+//create <div> and append it to element with id (if not null) or to existing element el (if not null)
    let div=document.createElement('div');
    if (divId) div.id=divId;
    this.append(div,id,el);