openshift / angular-extension-registry

An angular module allowing arbitrary data to be injected & rendered in UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow registration of an array of functions

benjaminapetersen opened this issue · comments

It may be useful to allow registration of an array of fns:

// TODO: this will not work, but it might be handy to accept an array of args
extensionRegistry.register('thing', [
  function() {
    console.log('hello?', arguments);
  },
  function() {
    console.log('world!', arguments);
  }
]);

As of now, the .register('thing', function() {}); always expects a single function. Providing an array will do nothing.

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.