MCPcopy Index your code
hub / github.com/shipshapecode/tether / extend

Function extend

src/js/utils/general.js:3–19  ·  view source on GitHub ↗
(out = {})

Source from the content-addressed store, hash-verified

1let _scrollBarSize = null;
2
3export function extend(out = {}) {
4 const args = [];
5
6 Array.prototype.push.apply(args, arguments);
7
8 args.slice(1).forEach((obj) => {
9 if (obj) {
10 for (let key in obj) {
11 if ({}.hasOwnProperty.call(obj, key)) {
12 out[key] = obj[key];
13 }
14 }
15 }
16 });
17
18 return out;
19}
20
21export function getScrollBarSize() {
22 if (_scrollBarSize) {

Callers 8

positionFunction · 0.90
setOptionsMethod · 0.90
moveMethod · 0.90
tether.jsFile · 0.90
_getOriginFunction · 0.90
getScrollBarSizeFunction · 0.85
drop.jsFile · 0.85
DropInstanceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…