MCPcopy Index your code
hub / github.com/binux/qiandao / arrayRemove

Function arrayRemove

web/static/components/angularjs/angular.js:777–782  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

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

Callers 3

jqLiteOffFunction · 0.85
$RootScopeProviderFunction · 0.85
FormControllerFunction · 0.85

Calls 1

indexOfFunction · 0.85

Tested by

no test coverage detected