MCPcopy Index your code
hub / github.com/NUKnightLab/TimelineJS3 / compact

Function compact

src/js/net/Net.js:89–89  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

87 function likeArray(obj) { return typeof obj.length == 'number' }
88
89 function compact(array) { return filter.call(array, function(item) { return item != null }) }
90
91 function flatten(array) { return array.length > 0 ? $.fn.concat.apply([], array) : array }
92 camelize = function(str) { return str.replace(/-+(.)?/g, function(match, chr) { return chr ? chr.toUpperCase() : '' }) }

Callers 1

Net.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected