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

Function toArray

static/cropper/2.3.4/cropper.js:117–126  ·  view source on GitHub ↗
(obj, offset)

Source from the content-addressed store, hash-verified

115 }
116
117 function toArray(obj, offset) {
118 var args = [];
119
120 // This is necessary for IE8
121 if (isNumber(offset)) {
122 args.push(offset);
123 }
124
125 return args.slice.apply(obj, args);
126 }
127
128 // Custom proxy to avoid jQuery's guid
129 function proxy(fn, context) {

Callers 2

proxyFunction · 0.70
cropper.jsFile · 0.70

Calls 1

isNumberFunction · 0.70

Tested by

no test coverage detected