Skip to content

Commit

Permalink
Fix typo in socketNotificationReceived: self -> this (#61)
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Graham <julian@roseland>
  • Loading branch information
joolean and Julian Graham authored Nov 21, 2021
1 parent 63ea20e commit 9cbbe88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMM-nyc-transit.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ Module.register('MMM-nyc-transit', { /*eslint-disable-line*/
console.log('socketNotificationReceived: "TRAIN_TABLE": ', this.result)

this.result = payload
this.updateDom(self.config.fadeSpeed)
this.updateDom(this.config.fadeSpeed)
} else if (notification === 'DOM_OBJECTS_CREATED') {
// eslint-disable-next-line no-console
console.log('Dom Objects Created')
Expand Down

0 comments on commit 9cbbe88

Please sign in to comment.