MCPcopy Index your code
hub / github.com/prototypejs/prototype / removeEmpty

Function removeEmpty

test/unit/static/js/mocha.js:80–88  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

78 return { newPos: path.newPos, components: path.components.slice(0) };
79 }
80 function removeEmpty(array) {
81 var ret = [];
82 for (var i = 0; i < array.length; i++) {
83 if (array[i]) {
84 ret.push(array[i]);
85 }
86 }
87 return ret;
88 }
89 function escapeHTML(s) {
90 var n = s;
91 n = n.replace(/&/g, "&amp;");

Callers 1

mocha.jsFile · 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…