News for hackers. Stuff that matters.
Re:JQuery Mobile Alpha 1 Released by karanbhangui on Saturday October 16, 2010 @01:40PM (#1798379)
Awesome job. I've been eagerly awaiting the arrival of this since it was announced. I have spent the morning porting our app from using our internal mobile framework to jQuery Mobile.

First thoughts, this is really really well done. Each page is taking next to no time to change.

Secondly, is anyone noticing crashes on chromium (ubuntu)? The browser seems to crash every few minutes..

Edit: also noticed a major part of the header doc missing: http://github.com/jquery/jquery-mobile/issues/issue/197

Re:JQuery Mobile Alpha 1 Released by todd-parker on Sunday October 17, 2010 @12:07PM (#1800648)
Crashing may be a memory issue. As you click around,the framework loads the new page with Ajax and adds it to the DOM. We haven't yet implemented a system to only hold X pages in the DOM and dump older ones to keep things tidy. So if you click around, the page will eventually get pretty large.

For now, you can add a rel="external" to links. This tells the framework to do a full page reload and will give you a fresh start. Might make sense to add this to certain links to ensure that the DOM is cleaned up periodically.