Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
73
function
removeFromArray(arr, val) {
74
var
index = arr.indexOf(val);
75
if
(val >= 0) {
76
arr.splice(index, 1);
77
}
78
}
79
80
function
stripCommentsFromElement(element) {
81
if
(element instanceof jqLite) {
Callers
1
playPause
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected