MCPcopy Index your code
hub / github.com/TruthHun/BookStack / create

Function create

static/word2md/mammoth.browser.js:1028–1035  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

1026 var anchor = element.attributes["w:anchor"];
1027 return readXmlElements(element.children).map(function(children) {
1028 function create(options) {
1029 var targetFrame = element.attributes["w:tgtFrame"] || null;
1030
1031 return new documents.Hyperlink(
1032 children,
1033 _.extend({targetFrame: targetFrame}, options)
1034 );
1035 }
1036
1037 if (relationshipId) {
1038 var href = relationships.findTargetByRelationshipId(relationshipId);

Callers 1

BodyReaderFunction · 0.70

Calls 1

extendMethod · 0.80

Tested by

no test coverage detected