You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I'm hoping this project has still a little support from the community.
I've switched from a pre-coffeescript version of jqtouch to the latest one, and I am having troubles porting my app.
The main issue is that the goTo method, that once supported both IDs and urls, now gives an error.
With Zepto:
> jQT.goTo('mobile/projects')
zepto.js:261 Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': '/mobile/projects' is not a valid selector.
zepto.js:261 zepto.qsa
zepto.js:188 zepto.init
zepto.js:218 $
jqt.js:243 (anonymous function)
VM4881:2 (anonymous function)
VM4846:847 InjectedScript._evaluateOn
VM4846:780 InjectedScript._evaluateAndWrap
VM4846:646 InjectedScript.evaluate
if(typeoftoPage==="string"){try{nextPage=$(toPage);}catch(e){// toPage was not a valid selectorshowPageByHref(toPage,{animation: animation});return;}toPage=nextPage;}
I'm not sure if it's the right fix, but it works for me.
Summoning @thomasyip and @davidkaneda to have a look at it and update the original CoffeeScript file.
tegola
changed the title
goTo() no longer support external urls
goTo() no longer support external urls (custom fix found)
Mar 27, 2015
tegola
changed the title
goTo() no longer support external urls (custom fix found)
goTo() no longer support external urls (custom fix inside)
Mar 27, 2015
Hello,
I'm hoping this project has still a little support from the community.
I've switched from a pre-coffeescript version of jqtouch to the latest one, and I am having troubles porting my app.
The main issue is that the
goTo
method, that once supported both IDs and urls, now gives an error.With Zepto:
With jQuery 2 + jqtouch-jquery2.js:
Any cue?
Thanks
The text was updated successfully, but these errors were encountered: