Skip to content

Commit

Permalink
Fix coffeescript loading error in example
Browse files Browse the repository at this point in the history
  • Loading branch information
evansolomon committed Feb 17, 2015
1 parent 7e7dac7 commit e2c17a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/simple.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
// cd examples
// node simple.js

// Note: in a normal implementation with the package loaded from NPM, you won't have to do this
require('coffee-script/register');

var Slack = require('..');

var token = 'xoxb-YOUR-TOKEN-HERE', // Add a bot at https://my.slack.com/services/new/bot and copy the token here.
Expand Down

0 comments on commit e2c17a6

Please sign in to comment.