We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80ed11a commit 9d373eeCopy full SHA for 9d373ee
README.md
@@ -10,13 +10,13 @@ npm install yamaha-nodejs
10
```javascript
11
var YamahaAPI = require("yamaha-nodejs");
12
var yamaha = new YamahaAPI("192.168.0.100");
13
-yamaha.powerOn().done(function(){
+yamaha.powerOn().then(function(){
14
console.log("powerOn");
15
- yamaha.setMainInputTo("NET RADIO").done( function(){
+ yamaha.setMainInputTo("NET RADIO").then( function(){
16
console.log("Switched to Net Radio");
17
- yamaha.selectWebRadioListItem(1).done(function(){
+ yamaha.selectWebRadioListItem(1).then(function(){
18
console.log("Selected Favorites");
19
- yamaha.selectWebRadioListItem(1).done(function(){});
+ yamaha.selectWebRadioListItem(1).then(function(){});
20
});
21
22
0 commit comments