Skip to content

Commit

Permalink
Add file missing from previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sulkaharo committed Nov 14, 2020
1 parent 376c790 commit 978f205
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions lib/plugins/runtimestate.js
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 978f205

Please sign in to comment.