st-one-io / node-red-contrib-s7

A Node-RED node to interact with Siemens S7 PLCs
GNU General Public License v3.0
111 stars 58 forks source link

Bug fix. #1

Closed sergekatzmann closed 8 years ago

sergekatzmann commented 8 years ago

EventEmitter was an instance of events due to false import.

The import is changed to

var EventEmitter = require('events').EventEmitter;

gfcittolin commented 8 years ago

Good catch! Thanks for the PR :)