Permalink
Browse files

fix example

  • Loading branch information...
1 parent dbf2380 commit e280eca15ccef19190ba3d86d2bc6c191cd8e771 @cloudshift committed Jun 5, 2011
Showing with 8 additions and 0 deletions.
  1. +1 −0 Ex2.hx
  2. +7 −0 README
View
1 Ex2.hx
@@ -2,6 +2,7 @@
// Compile with
// haxe -D nodejs -cp . -js ex2.js -main Ex2
+
import js.Node;
class Ex2 {
View
7 README
@@ -50,3 +50,10 @@ Ex1.hx:6: {
Ex1.hx:7: 5029952
Ex1.hx:11: [204.232.203.106]
+
+To compile with haxelib
+
+haxe -D nodejs -lib nodejs .... etc
+
+
+

0 comments on commit e280eca

Please sign in to comment.