Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
watch-my-terminal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move client js to client.coffee
[watch-my-terminal.git]
/
server.coffee
diff --git
a/server.coffee
b/server.coffee
index
32daeff
..
61d3647
100644
(file)
--- a/
server.coffee
+++ b/
server.coffee
@@
-12,6
+12,9
@@
handler = (req, res) ->
when '/terminal.js'
filename = __dirname + '/terminal.coffee'
type = 'text/javascript'
when '/terminal.js'
filename = __dirname + '/terminal.coffee'
type = 'text/javascript'
+ when '/client.js'
+ filename = __dirname + '/client.coffee'
+ type = 'text/javascript'
else
return reply_err req, res
fs.readFile filename, 'utf8', (err, data) ->
else
return reply_err req, res
fs.readFile filename, 'utf8', (err, data) ->