From 76a6a099cb7cff206af0cda0c2c375842eec52af Mon Sep 17 00:00:00 2001 From: Tom Bell Date: Wed, 23 Jan 2013 21:34:41 +0000 Subject: [PATCH] Add underscore dependency to header --- src/scripts/truckstopsf.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/scripts/truckstopsf.coffee b/src/scripts/truckstopsf.coffee index 34072be34..addbaa13e 100644 --- a/src/scripts/truckstopsf.coffee +++ b/src/scripts/truckstopsf.coffee @@ -3,7 +3,7 @@ # See http://truckstopsf.com # # Dependencies: -# None +# "underscore": "*" # # Configuration: # None @@ -16,11 +16,11 @@ # Author: # chris -utils = require 'underscore' +_ = require 'underscore' data_by_matcher = (input, matcher) -> get_data = (match.match(matcher).slice(1) for match in input) - utils.flatten(get_data) + _.flatten(get_data) module.exports = (robot) -> robot.respond /truckstopsf\s?(!|details|deets)?/i, (res) ->