Created
January 15, 2014 17:53
-
-
Save andete/8440992 to your computer and use it in GitHub Desktop.
hello.js faulty javascript generated by coffee -c ?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- hello.js 2014-01-15 18:42:39.446944705 +0100 | |
+++ hello.js.fix 2014-01-15 18:20:23.099359963 +0100 | |
@@ -1,8 +1,6 @@ | |
(function() { | |
- var http; | |
- | |
- require(http = 'http'); | |
+ var http = require('http'); | |
http.createServer(function(req, res) { | |
res.writeHead(200); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example was faulty and had:
require http = 'http'
isof
http = require 'http'