in salesforce/canvas/public/javascripts/canvas-all.js [64:95]
each: function (obj, it, ctx) {
if ($.isNil(obj)) {
return;
}
var nativ = aproto.forEach,
i = 0,
l,
key;
l = obj.length;
ctx = ctx || obj;
if (nativ && nativ === obj.forEach) {
obj.forEach(it, ctx);
} else {
if ($.isNumber(l)) {
while (i < l) {
if (it.call(ctx, obj[i], i, obj) === false) {
return;
}
i += 1;
}
} else {
for (key in obj) {
if (
$.hasOwn(obj, key) &&
it.call(ctx, obj[key], key, obj) === false
) {
return;
}
}
}
}
},