MCPcopy Create free account
hub / github.com/TruthHun/BookStack / appendContent

Function appendContent

static/js/printThis.js:47–52  ·  view source on GitHub ↗
($el, content)

Source from the content-addressed store, hash-verified

45(function($) {
46
47 function appendContent($el, content) {
48 if (!content) return;
49
50 // Simple test for a jQuery element
51 $el.append(content.jquery ? content.clone() : content);
52 }
53
54 function appendBody($body, $element, opt) {
55 // Clone for safety and convenience

Callers 1

printThis.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected