@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
3 lines (2 loc) • 612 B
JavaScript
;function _interopDefault(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var _newArrowCheck=_interopDefault(require("babel-runtime/helpers/newArrowCheck")),_this=void 0,getNotifier=function(e,t){return _newArrowCheck(this,_this),function(r){return _newArrowCheck(this,_this),r[e]&&r[e](t)}.bind(this)}.bind(void 0),getHandlerName=function(e){return _newArrowCheck(this,_this),"on"+String(e)}.bind(void 0),notify=function(e,t,r){return _newArrowCheck(this,_this),e.observers.forEach(getNotifier(getHandlerName(t),r))}.bind(void 0);module.exports=notify;
//# sourceMappingURL=notify.js.map