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

Function removeFromArray

lib/test/angular/1.5.0/angular-animate.js:124–129  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

122}
123
124function removeFromArray(arr, val) {
125 var index = arr.indexOf(val);
126 if (val >= 0) {
127 arr.splice(index, 1);
128 }
129}
130
131function stripCommentsFromElement(element) {
132 if (element instanceof jqLite) {

Callers 1

playPauseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected