From e2c17a69386884f2fdfc1b7ae570d6ce47a23af9 Mon Sep 17 00:00:00 2001 From: Evan Solomon Date: Tue, 17 Feb 2015 11:36:47 -0800 Subject: [PATCH] Fix coffeescript loading error in example Closes #24 --- examples/simple.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/simple.js b/examples/simple.js index c08bd7e7e..16ab02b5d 100644 --- a/examples/simple.js +++ b/examples/simple.js @@ -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.