diff options
author | Geoff Gustafson <geoff@linux.intel.com> | 2017-10-13 08:07:15 -0700 |
---|---|---|
committer | Jimmy Huang <jimmy.huang@linux.intel.com> | 2017-10-19 13:59:35 -0700 |
commit | e6c97523c082b5d1db6a56b3fdcb3b10a81e6a34 (patch) | |
tree | 52650f0a4322324582389b6ad10e27888d67e58f /samples/UART.js | |
parent | 5ac6830cefbca30fee3104adbc3baf164e696580 (diff) |
[events] Add return value to zjs_pre_emit to allow cancel
Now if you return true from a zjs_pre_emit callback, the event will
go forward, but if you return false it will be cancelled.
Also, fix all call sites.
Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>
Diffstat (limited to 'samples/UART.js')
0 files changed, 0 insertions, 0 deletions