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

Function clonePath

test/unit/static/js/mocha.js:77–79  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

75 */
76var JsDiff = (function() {
77 function clonePath(path) {
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++) {

Callers 1

mocha.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected