azicchetti / jquerymobile-router

A router/controller for jquery mobile. Also adds support for client-side parameters in the hash part of the url. The routes handles regexp based routes. This plugin can be used alone or (better) with Backbone.js or Spine.js, because it's originally meant to replace their router with something integrated with jQM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on android browser

tdurand opened this issue · comments

Hi,

I'm facing a new issue, my project is doing great on my chrome browser and i started to test it on mobile and it's not working at all.

The android browser shows up a blank page... I tried to debug it with weirne but i didn't succeed to get error log.

My code is here: https://github.com/tdurand/faq-app-client-mobile

And you can test it here (from you android browser and you desktop browser): http://tdurand.github.com/faq-app-client-mobile/

Any ideas...?

Thanks a lot

PS: i have an android 2.3, i tried with opera mobile and it worked

Il 27/09/2012 12:05, Thibault Durand ha scritto:

I'm facing a new issue, my project is doing great on my chrome browser
and i started to test it on mobile and it's not working at all.

Hi,
I've tried the webpage on the android simulator and it says:

E/browser ( 317): Console: SyntaxError: Parse error
http://tdurand.github.com/faq-app-client-mobile/main/router.js:32
I/bro

Since it works on the iphone i guess it's just the "default" keyword
that causes the parsing error.
Try changing the function name to defaultHandler or something like that.

Cheers,
Andrea

Thanks a lot andrea ;-).

2012/9/27 Andrea Zicchetti notifications@github.com

Il 27/09/2012 12:05, Thibault Durand ha scritto:

I'm facing a new issue, my project is doing great on my chrome browser
and i started to test it on mobile and it's not working at all.

Hi,
I've tried the webpage on the android simulator and it says:

E/browser ( 317): Console: SyntaxError: Parse error
http://tdurand.github.com/faq-app-client-mobile/main/router.js:32
I/bro

Since it works on the iphone i guess it's just the "default" keyword
that causes the parsing error.
Try changing the function name to defaultHandler or something like that.

Cheers,
Andrea


Reply to this email directly or view it on GitHubhttps://github.com//issues/59#issuecomment-8942825.