make-shift-brew-ui
Version:
Common User Interface for the Brewfactory projects, modified for MakeShift Aleworks
19 lines (13 loc) • 399 B
JavaScript
/*
* Action: receive pwm
*
* @module receivePWM
*/
;
var debug = require('debug')('BrewUI:action');
debug.log = console.debug.bind(console);
var BrewerConstants = require('../../constants/BrewerConstants');
module.exports = function (context, payload) {
//debug('dispatching RECEIVE_PWM', payload);
context.dispatch(BrewerConstants.ActionTypes.RECEIVE_PWM, payload.pwm);
};