add debit card to nextsteps
This commit is contained in:
parent
54c8c64351
commit
8e5d42edc5
4 changed files with 58 additions and 11 deletions
|
|
@ -14,17 +14,21 @@
|
|||
};
|
||||
|
||||
root.unregister = function(serviceName) {
|
||||
|
||||
var newS = lodash.filter(services, function(x) {
|
||||
return x.name != serviceName;
|
||||
});
|
||||
|
||||
// Found?
|
||||
if (newS.length == services.length) return;
|
||||
|
||||
$log.info('Removing NextSteps entry:' + serviceName);
|
||||
var newS = lodash.filter(services, function(x) {
|
||||
return x.name!=serviceName;
|
||||
});
|
||||
// This is to preserve services pointer
|
||||
while (services.length)
|
||||
services.pop();
|
||||
|
||||
// This is to preserve services pointer
|
||||
while(services.length)
|
||||
services.pop();
|
||||
|
||||
while(newS.length)
|
||||
services.push(newS.pop());
|
||||
while (newS.length)
|
||||
services.push(newS.pop());
|
||||
};
|
||||
|
||||
root.get = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue