MCPcopy Index your code
hub / github.com/angular-ui/ui-router / removeFromArray

Function removeFromArray

test/angular/1.7/angular-animate.js:106–111  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

104}
105
106function removeFromArray(arr, val) {
107 var index = arr.indexOf(val);
108 if (val >= 0) {
109 arr.splice(index, 1);
110 }
111}
112
113function stripCommentsFromElement(element) {
114 if (element instanceof jqLite) {

Callers 1

playPauseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected