insure export is capital

master
David Kebler 2017-01-13 21:13:39 -08:00
parent ee789c9105
commit 25c4cbfba3
2 changed files with 45 additions and 44 deletions

View File

@ -19,4 +19,6 @@ class Bus {
} // end of Bus Class } // end of Bus Class
module.exports = Bus; module.exports = {
Bus
};

View File

@ -30,7 +30,6 @@ class Device {
return this.bus.writeByte_p(this.address, cmd, byte) return this.bus.writeByte_p(this.address, cmd, byte)
} }
read2(cmd) { read2(cmd) {
return this.bus.readWord_p(this.address, cmd) return this.bus.readWord_p(this.address, cmd)
} }
@ -43,8 +42,8 @@ class Device {
readBytes() {} readBytes() {}
writeBytes() {} writeBytes() {}
} }
module.exports = Device; module.exports = {
Device
}