ajacksified / ajacksified/Mediator.js
Support chaining
Abierto
- Lenguaje dominante
- JavaScript
- Estrellas
- 460
- Forks
- 75
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Have you through of adding chaining to `subscribe`, `once` and `remove` methods?
E.g.
``` js
Mediator
.subscribe('channe:one', doOne)
.subscribe('channel:two', doTwo)
.subscribe('channe:three', doThree)
```
I notice `subscribe` and `once` return the `subscriber`. What is the use case for this?
If this would be a positive change I'd be happy to submit a pull.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.