Browse Source

:memo: Update documentation style guide to ES6 [ci skip]

Steve Kinney 9 years ago
parent
commit
178496afe5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/styleguide.md

+ 1 - 1
docs/styleguide.md

@@ -92,7 +92,7 @@ a value it and its type is noted below. If you were to listen and respond to
 this event it might look something like this:
 
 ```javascript
-Alarm.on('wake-up', function(time) {
+Alarm.on('wake-up', (time) => {
   console.log(time)
 })
 ```