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

Function extend

static/word2md/turndown.js:4–12  ·  view source on GitHub ↗
(destination)

Source from the content-addressed store, hash-verified

2'use strict';
3
4function extend (destination) {
5 for (var i = 1; i < arguments.length; i++) {
6 var source = arguments[i];
7 for (var key in source) {
8 if (source.hasOwnProperty(key)) destination[key] = source[key];
9 }
10 }
11 return destination
12}
13
14function repeat (character, count) {
15 return Array(count + 1).join(character)

Callers 1

TurndownServiceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected