MCPcopy Create free account
hub / github.com/sql-js/sql.js / valconcat

Function valconcat

GUI/gui.js:49–53  ·  view source on GitHub ↗
(vals, tagName)

Source from the content-addressed store, hash-verified

47// Create an HTML table
48var tableCreate = function () {
49 function valconcat(vals, tagName) {
50 if (vals.length === 0) return '';
51 var open = '<'+tagName+'>', close='</'+tagName+'>';
52 return open + vals.join(close + open) + close;
53 }
54 return function (columns, values){
55 var tbl = document.createElement('table');
56 var html = '<thead>' + valconcat(columns, 'th') + '</thead>';

Callers 1

gui.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…