MCPcopy
hub / github.com/angular-ui/ui-router / arrayRemove

Function arrayRemove

test/angular/1.2/angular.js:779–784  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

777}
778
779function arrayRemove(array, value) {
780 var index = indexOf(array, value);
781 if (index >=0)
782 array.splice(index, 1);
783 return value;
784}
785
786function isLeafNode (node) {
787 if (node) {

Callers 3

jqLiteOffFunction · 0.70
$RootScopeProviderFunction · 0.70
FormControllerFunction · 0.70

Calls 1

indexOfFunction · 0.85

Tested by

no test coverage detected