MCPcopy Create free account
hub / github.com/OpenReservation/OpenReservation / arrayRemove

Function arrayRemove

OpenReservation/wwwroot/Scripts/angular.js:771–777  ·  view source on GitHub ↗
(array, value)

Source from the content-addressed store, hash-verified

769 }
770
771 function arrayRemove(array, value) {
772 var index = array.indexOf(value);
773 if (index >= 0) {
774 array.splice(index, 1);
775 }
776 return index;
777 }
778
779 /**
780 * @ngdoc function

Callers 4

removeHandlerFunction · 0.85
$CompileProviderFunction · 0.85
$RootScopeProviderFunction · 0.85
FormControllerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected