Skip to content

Commit

Permalink
bugfix for mcs.js (zh-TW)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamblue committed Dec 29, 2015
1 parent 94e40f4 commit dc78885
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/zh-TW/tutorial/7688_led_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ var mcs = require('mcsjs');
// Replace the device ID and device Key obtained from your test device
// created in MCS.
myApp.on('LED_Control', function(time, data) {
if(Number(data) === 1){
console.log('blink');
} else {
Console.log(’off’);
}
myApp.on('LED_Control', function(data, time) {
if(Number(data) === 1){
console.log('blink');
} else {
console.log(’off’);
}
});
```

Expand Down

0 comments on commit dc78885

Please sign in to comment.