@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) • 500 B
JavaScript
import _newArrowCheck from"babel-runtime/helpers/newArrowCheck";var _this=void 0,getNotifier=function(e,r){return _newArrowCheck(this,_this),function(i){return _newArrowCheck(this,_this),i[e]&&i[e](r)}.bind(this)}.bind(void 0),getHandlerName=function(e){return _newArrowCheck(this,_this),"on"+String(e)}.bind(void 0),notify=function(e,r,i){return _newArrowCheck(this,_this),e.observers.forEach(getNotifier(getHandlerName(r),i))}.bind(void 0);export default notify;
//# sourceMappingURL=notify.js.map