master
checkMessages
Motion.prototype.checkMessages = function(msg) { var that = this; var matched = false; var payload = null; _.forEach(that.messageArray, function (message) {