UNPKG
hubot-googlemaps
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
google maps api for hubot scripts
github.com/n0bisuke/hubot-googlemaps
hubot-googlemaps
/
index.coffee
8 lines
(7 loc)
•
222 B
text/coffeescript
View Raw
1
2
3
4
5
6
7
8
Fs =
require
'fs'
Path =
require
'path'
module
.exports = (robot) ->
path
= Path.resolve __dirname,
'scripts'
Fs.exists
path
, (exists) ->
if
exists robot.loadFile
path
, file
for
file
in
Fs.readdirSync(
path
)