consul/ui-v2/app
John Cowen 32387fdbcf ui: Enable creating listeners using an object/hash (#5975)
Makes listening to multiple events on one target slightly easier.
Adding events can be rolled up into passing through an object, and the
returned remove function removes all of the handlers in the object

For example:

```
//this.listen...
const remove = listeners.add(
  {
    'message': handler,
    'error': handler
  }
);
remove(); // removes all listeners in the object
```

The entire API for listeners is now becoming slightly overloaded, so
potentially we'd use this API always and remove the ability to use a
string/function pair.
2019-09-04 08:35:04 +00:00
..
adapters
components
computed
controllers
forms
helpers
initializers
instance-initializers
mixins
models
routes
routing
search/filters
serializers
services
styles
templates
utils ui: Enable creating listeners using an object/hash (#5975) 2019-09-04 08:35:04 +00:00
validations
app.js
env.js
index.html
resolver.js
router.js