Skip to content

Commit

Permalink
comment out console log and remove console logs from min.js, Obj2HTML…
Browse files Browse the repository at this point in the history
… returns the element regardless
  • Loading branch information
ogewan committed Jun 14, 2015
1 parent 5fb0683 commit 2a4e249
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions HTMLparser.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@ function Obj2HTML(b,e){
c = document.createElement(b[i].$head);
for (var key in b[i]){
if(b[i].hasOwnProperty(key) && key[0]!='$'){
console.log(key,b[i][key]);
/*console.log(key,b[i][key]);*/
c.setAttribute(key, b[i][key]);
}
}
console.log(b[i]);
/*console.log(b[i]);*/
if(b[i].$in.length) Obj2HTML(b[i].$in, c);
e.appendChild(c);
if(e && !(void 0 === e)) e.appendChild(c);
return c;
}
}
function HTMLobjClean(a){
Expand Down
2 changes: 1 addition & 1 deletion HTMLparser.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2a4e249

Please sign in to comment.