Remove event passing for icons/examples from the api layer

This commit is contained in:
Nick O'Leary
2017-02-15 22:54:32 +00:00
parent 702e6d3b51
commit 869fdbcc6a
12 changed files with 291 additions and 149 deletions

View File

@@ -56,10 +56,12 @@ describe("red/nodes/index", function() {
get: function() { return false }
};
var EventEmitter = require('events').EventEmitter;
var runtime = {
settings: settings,
storage: storage,
log: {debug:function() {}, warn:function() {}}
log: {debug:function() {}, warn:function() {}},
events: new EventEmitter()
};
function TestNode(n) {