consul/ui-v2/tests/unit/utils
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
..
dom ui: Enable creating listeners using an object/hash (#5975) 2019-09-04 08:35:04 +00:00
helpers
http ui: Adds XHR connection management to HTTP/1.1 installs (#5083) 2019-05-01 18:22:02 +00:00
model
routing
search ui: Async Search (#4859) 2019-05-01 18:21:34 +00:00
storage
acls-status-test.js ui: Adds better error passthrough, disable/unauthorize properly on error (#5041) 2019-05-01 18:21:53 +00:00
ascend-test.js
atob-test.js
btoa-test.js
callable-type-test.js
confirm-test.js
createURL-test.js
get-form-name-property-test.js
get-object-pool-test.js ui: Adds XHR connection management to HTTP/1.1 installs (#5083) 2019-05-01 18:22:02 +00:00
hasStatus-test.js
injectableRequestToJQueryAjaxHash-test.js
isFolder-test.js
keyToArray-test.js
left-trim-test.js
makeAttrable-test.js
promisedTimeout-test.js
remove-null-test.js
right-trim-test.js
sumOfUnhealthy-test.js
templatize-test.js
ucfirst-test.js
update-array-object-test.js UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00