MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / removeFromArray

Function removeFromArray

lib/test/angular/1.4.3/angular-animate.js:73–78  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

71}
72
73function removeFromArray(arr, val) {
74 var index = arr.indexOf(val);
75 if (val >= 0) {
76 arr.splice(index, 1);
77 }
78}
79
80function stripCommentsFromElement(element) {
81 if (element instanceof jqLite) {

Callers 1

playPauseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected