Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: EBook reader

19 views
Skip to first unread message

Mathieu Rochette

unread,
Jul 19, 2012, 4:30:01 AM7/19/12
to Hernan Rodriguez Colmeiro, Pastor Alberto (UK), Fabrice Desre, dev-...@lists.mozilla.org, Doug Turner
Hi,

thank you all for your suggestion, I'm now using firefox nightly with
responsive mode. quite handy :)

On Mon, Jul 16, 2012 at 09:28:21PM -0300, Hernan Rodriguez Colmeiro wrote:
> On Mon, Jul 16, 2012 at 5:51 PM, Pastor Alberto (UK)
> <Alberto...@o2.com> wrote:
> > Hi Mathieu!
> >
> > Let me give you a hand regarding how to debug apps:
> >
> > For testing apps in gaia (and use Firebug) I think the easiest option is
> > using FirefoxNightly. It should have (almost) everything that B2G has.
> > Only very phone-related stuff are not there (telephony, sms, etc). For an
> > ereader, should be ok. You can download it from
> > http://nightly.mozilla.org/.
> >
> > The only thing you will need to do is put every app name inside gaia/apps
> > in your /etc/hosts file (dialer.gaiamobile.org, sms.gaiamobile.org, act)
> > resolving to 127.0.0.1. After that, create your gaia profile in debug mode
> > ($ DEBUG=1 make profile) and run FirefoxNightly with the param -profile
> > pointing to your /path/to/gaia/profile (absolute path). Homescreen is not
> > working, but accessing directly to http://yourapp.gaiamobile.org:8080
> > should work. If you need more info -> https://wiki.mozilla.org/Gaia/Hacking
To avoid editing /ets/hosts I'm using http://xip.io/ (I needed to set an
env variable to "make" gaia) and now I can access
http://myapp.gaia.127.0.0.1.xip.io/
>
> I wrote a blogpost about this, that might be helpful:
> http://peregrinogris.com.ar/2-introduction-to-Boot-2-Gecko-Gaia-development
>
> Hern�n
> _______________________________________________
> dev-gaia mailing list
> dev-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-gaia

I'm starting to remove jquery but I facing a problem. with jquery I can
add[1] and trigger[2] events easily on non DOM object. Is there a simple
alternative? Where should I look? (didn't find much in MDN)

Anyway, I've also improve a bit the UI for 230x480 screen, and the
demo[3] is updated too


And I'll have enough refactoring for some times

have a nice day,


[1] https://texthtml.net/trac/projects/web-reader/repository/revisions/master/entry/js/index.js#L124
[2] https://texthtml.net/trac/projects/web-reader/repository/revisions/master/entry/js/web-reader.js#L157
[3] https://texthtml.net/sandbox/web-reader/

--
Mathieu Rochette
0 new messages