MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / div

Function div

lib/web/renderjson.js:79–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77 var stripQuotes = function(txt) { if (txt.startsWith("\"") && txt.endsWith("\"")) return txt.substring(1, txt.length-1); else return txt;}
78 var text = function(txt) { return document.createTextNode(stripQuotes(txt)) };
79 var div = function() { return document.createElement("div") };
80 var span = function(classname) { var s = document.createElement("span");
81 if (classname) s.className = classname;
82 return s; };

Callers 1

divMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected