Permalink
Browse files

deployVerticle example for CoffeeScript

  • Loading branch information...
1 parent 39d7355 commit 2dbcc453df0d63061ba3b12f1e0ffb2f94f28e49 @jannehietamaki committed Jan 13, 2013
@@ -0,0 +1,5 @@
+load('vertx.js')
+
+log = vertx.logger
+log.info "in child.coffee, config is #{vertx.config}"
+log.info JSON.stringify(vertx.config)
@@ -0,0 +1,7 @@
+load('vertx.js')
+
+config =
+ name: 'tim'
+ age: 823823
+
+id = vertx.deployVerticle 'deploy/child.coffee', config, 1

0 comments on commit 2dbcc45

Please sign in to comment.