MCPcopy Create free account
hub / github.com/socketstream/socketstream / headers

Function headers

lib/client/view.js:19–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 function headers() {
20 // Return an array of headers. Order is important!
21 var output = [];
22
23 // Send all CSS
24 if (client.includes.css) {
25 output = output.concat( bundler.htmlTags('css',!!client.pack) );
26 }
27
28 // Send Application Code
29 output = output.concat( bundler.htmlTags('js',!!client.pack) );
30
31 return output;
32 }
33
34 // Add links to CSS and JS files
35 var includes = headers().concat(templates());

Callers 1

view.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected