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

Function elements

static/word2md/mammoth.browser.js:3087–3095  ·  view source on GitHub ↗
(elementStyles)

Source from the content-addressed store, hash-verified

3085}
3086
3087function elements(elementStyles) {
3088 return new HtmlPath(elementStyles.map(function(elementStyle) {
3089 if (_.isString(elementStyle)) {
3090 return element(elementStyle);
3091 } else {
3092 return elementStyle;
3093 }
3094 }));
3095}
3096
3097function HtmlPath(elements) {
3098 this._elements = elements;

Callers 3

topLevelElementFunction · 0.70
mammoth.browser.jsFile · 0.70
elementsOfTypeFunction · 0.70

Calls 2

extendMethod · 0.80
elementFunction · 0.70

Tested by

no test coverage detected