incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <...@adobe.com>
Subject Re: [DISCUSS] Switching out Channel's in callback-js for an event module
Date Tue, 06 Dec 2011 22:15:22 GMT

>I personally am liking the EventEmitter Approach a lot more as I would
>like
>to have the ability to separate some of the events by instance:
>
>var phonegap = require("phonegap");
>
>phonegap.on("nativeready", func);
>
>var network = require("phonegap/network");
>network.on("ready", func);
>
>var device = require("phonegap/device");
>device.on("ready", func);

Same here, I like this more.


Mime
View raw message