diff --git a/examples/hello.coffee b/examples/hello.coffee index 2cb3f19..5ea4ae6 100644 --- a/examples/hello.coffee +++ b/examples/hello.coffee @@ -3,6 +3,9 @@ cylon = require('..') cylon.robot work: -> every 1.second(), -> - Logger.info("hello, human!") + Logger.info("Hello, human!") + + after 10.seconds(), -> + Logger.info "Impressive." .start() diff --git a/examples/hello.js b/examples/hello.js index 616120e..546ed1f 100644 --- a/examples/hello.js +++ b/examples/hello.js @@ -2,6 +2,7 @@ var cylon = require('..'); cylon.robot({ work: function() { - every((1).second(), function() { Logger.info("hello, human!"); }); + every((1).second(), function() { Logger.info("Hello, human!"); }); + after((10).seconds(), function() { Logger.info("Impressive."); }); } }).start();