From 6ab3f4bd43eb44d52d1accefb57882dc1dcf88fc Mon Sep 17 00:00:00 2001 From: Santiago Date: Sun, 27 Nov 2016 19:12:08 -0500 Subject: [PATCH] Added ready event on chainable method. --- johnny-five/johnny-five-tests.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/johnny-five/johnny-five-tests.ts b/johnny-five/johnny-five-tests.ts index 930a67ea88..afc057cf79 100644 --- a/johnny-five/johnny-five-tests.ts +++ b/johnny-five/johnny-five-tests.ts @@ -252,4 +252,6 @@ board.on('ready', function(){ return (raw / 100) + 10; } }); +}).on("ready", function(){ + console.log("Everything is ready!!!"); });