Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Add underscore dependency to header
Browse files Browse the repository at this point in the history
  • Loading branch information
tombell committed Jan 23, 2013
1 parent 5df922d commit 76a6a09
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scripts/truckstopsf.coffee
Expand Up @@ -3,7 +3,7 @@
# See http://truckstopsf.com # See http://truckstopsf.com
# #
# Dependencies: # Dependencies:
# None # "underscore": "*"
# #
# Configuration: # Configuration:
# None # None
Expand All @@ -16,11 +16,11 @@
# Author: # Author:
# chris # chris


utils = require 'underscore' _ = require 'underscore'


data_by_matcher = (input, matcher) -> data_by_matcher = (input, matcher) ->
get_data = (match.match(matcher).slice(1) for match in input) get_data = (match.match(matcher).slice(1) for match in input)
utils.flatten(get_data) _.flatten(get_data)


module.exports = (robot) -> module.exports = (robot) ->
robot.respond /truckstopsf\s?(!|details|deets)?/i, (res) -> robot.respond /truckstopsf\s?(!|details|deets)?/i, (res) ->
Expand Down

0 comments on commit 76a6a09

Please sign in to comment.