From 272fb26a1122a85597b3e84ee79e62298a671684 Mon Sep 17 00:00:00 2001 From: Carlos Sanchez Date: Mon, 28 Apr 2014 08:58:48 +0200 Subject: [PATCH] Update readme with new class names --- .gitignore | 1 + README.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index f1885f9..e16e6a0 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ results npm-debug.log /node_modules/ +test/mocha.opts diff --git a/README.md b/README.md index 932ca33..cf13c1e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,8 @@ See more examples in the `examples` dir # Heatmiser Neo - var neo = new Neo("192.168.1.100"); + var heatmiser = require('heatmiser'); + var neo = new heatmiser.Neo("192.168.1.100"); neo.on('success', function(data) { console.log(data); @@ -25,7 +26,8 @@ See more examples in the `examples` dir ## Reading the thermostat status - var hm = new Heatmiser('localhost', 1234); + var heatmiser = require('heatmiser'); + var hm = new heatmiser.Wifi('localhost', 1234); hm.on('success', function(data) { console.log(data);