-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jquery-mobile-angular-adapter Route Example #209
Comments
Hello, It works if you change
to
See http://plnkr.co/edit/HV3BPhGZdKr3Sm1HHNLw If you want to use hash bang urls instead of html5 ones you can. But you need to specify this in the config:
Your links in the html would then need to look like :
However I'm not sure if this works in Plunker because it uses an iFrame to display your content. |
Ah, in that case I think the problem is with Chrome. If you check the console you should see the message
So Chrome can't use files from Github because Github reports script files as being plain text. I think Github changed is recently to stop people using it as a CDN. There's probably a way of tricking Chrome into using the file but I'm not sure. Other 'solutions' include using Firefox or hosting the file yourself somewhere else. Good luck! |
Hi, I changed the url for the adapter to the following: https://rawgithub.com/opitzconsulting/jquery-mobile-angular-adapter/master/compiled/jquery-mobile-angular-adapter.min.js. By this, Github transfers it with the correct response type "text/javascript". Furthermore I changed your routes to use Hope this helps, |
P.S.: Just as a hint: If you have problems in a plunk or a jsfiddle, first look into the dev tools :-) |
Hi |
Sorry, that's not possible and it also makes no sense as JS in IE7 is really slow :-( |
Hello,
I'm trying to implement the jquery mobile adapter but when I do click on any link always says: "Error loading page".
I've been looking at examples (this is one: http://plnkr.co/edit/DNGiT83csWMmfYnHXOop?p=preview) but has the same problem.
Watching this example, what is the problem? Where I can see a complete example that works well?
thank you very much
The text was updated successfully, but these errors were encountered: