mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Add file missing from previous commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
'use strict';
|
||||
|
||||
function init() {
|
||||
|
||||
var runtime = {
|
||||
name: 'runtimestate'
|
||||
, label: 'Runtime state'
|
||||
, pluginType: 'fake'
|
||||
};
|
||||
|
||||
runtime.setProperties = function setProperties(sbx) {
|
||||
sbx.offerProperty('runtimestate', function setProp ( ) {
|
||||
return {
|
||||
state: sbx.runtimeState
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
return runtime;
|
||||
|
||||
}
|
||||
|
||||
module.exports = init;
|
||||
Reference in New Issue
Block a user