We do phonegap dev with CLJS, but we don't use many phonegap features (yet).

Don't try to skip the deviceready step. Like the DOM-ready event, you can get 
away with not waiting for it if you are careful, but why bring that pain on 
yourself?

Phonegap/cordova documentation on deviceready:

http://docs.phonegap.com/en/4.0.0/cordova_events_events.md.html#deviceready

On Wednesday, February 18, 2015 at 10:34:33 AM UTC-6, Sven Richter wrote:
> Hi,
> 
> Does anyone here do phonegap development with clojurescript?
> I was reading up a bit today and looked at sources I found: 
> https://gist.github.com/zentrope/bf359cec33f6fcc02be4 and now I wonder if I 
> have to wait for the "deviceready" event?
> 
> In this gist there is some ceremony to build the components with om, sent the 
> event when the device is ready and catch it somewhere else to start drawing 
> the rest of the dom.
> Is this a requirement? Is there a given reason to do so?
> 
> Thanks,
> Sven

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to