aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2017-03-24[tests] Update test sensor module to add 'unconnected' state (#887)Cui Yan
2017-03-21[sensor] Update sensor API for readings (#843)Jimmy Huang
The readings no longer are passed to the event object in the onchange() callback, but instead stored as a internal property in the object itself in the latest W3C spec. Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
2017-03-03[sensor] Added default state "unconnected" (#789)Jimmy Huang
The default state is no longer "idle" and should be "unconnected", also it should be a readonly property, and readings should also be readonly as well Signed-off-by: Jimmy Huang <jimmy.huang@intel.com>
2017-01-25[assert] Make the QA Assert module match Node APIs better (#650)Geoff Gustafson
This improves the basic syntax to: var assert = require('Assert'); assert(true, "successful assertion"); assert(false, "failed assertion"); Also allow any "truthy" value to pass. If you explicitly want to check for exact equality with true, then do: assert(operation() === true, "perform operation"); Relax about argument types; equal can check non-object arguments. The description argument can be a non-string or doesn't have to be given. Swapped argument order in assert.throws() to match Node API. Signed-off-by: Geoff Gustafson <geoff@linux.intel.com>
2017-01-20[tests] Add tests for Sensor API (#594)Cui Yan
2016-12-07[tests] Add tests for UART APIs (#507)Cui Yan
2016-11-30[bugfix] Fixes issue with I2C demos not showing backlight (#468)Brian Jones
Fix for issue #434 Signed-off-by: Brian J Jones <brian.j.jones@intel.com>
2016-11-16[modules] Add support for Node.js modules (#423)Brian Jones
Users can now import Javascript modules using var myObj = require("modulename.js"); A sample is also included to demonstrate how this is done. Signed-off-by: Brian J Jones <brian.j.jones@intel.com>