MCPcopy Index your code
hub / github.com/angular-ui/ui-router / arrayDifference

Function arrayDifference

test/angular/1.4/angular.js:23234–23246  ·  view source on GitHub ↗
(tokens1, tokens2)

Source from the content-addressed store, hash-verified

23232 };
23233
23234 function arrayDifference(tokens1, tokens2) {
23235 var values = [];
23236
23237 outer:
23238 for (var i = 0; i < tokens1.length; i++) {
23239 var token = tokens1[i];
23240 for (var j = 0; j < tokens2.length; j++) {
23241 if (token == tokens2[j]) continue outer;
23242 }
23243 values.push(token);
23244 }
23245 return values;
23246 }
23247
23248 function arrayClasses(classVal) {
23249 var classes = [];

Callers 1

updateClassesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected