Skip to content

Commit 812e88c

Browse files
save file
1 parent ae50a78 commit 812e88c

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

utils/editors/js-console/html/output/v2.0/output-v2.0.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,26 @@
330330

331331

332332

333+
obj.node = function(){return node.apply(null,arguments)}
334+
335+
function node(node){
336+
337+
if(typeof node=='string'){
338+
var str = node;
339+
node = document.createElement(str);
340+
}
341+
342+
output.append(node);
343+
344+
return node;
345+
346+
}//node
347+
348+
349+
350+
351+
352+
333353

334354

335355
return obj;

0 commit comments

Comments
 (0)