I'm having some troubles using CrossriderAPI with turbolinks, my scenario is this:
1. Going on my http://website.local/
2. running a check to see if Crossrider extension is ready:
CrossriderAPI.isAppReady('xxxxx', function(r) { if (r) (console.log('ready')) })
3. yes of course, is it.
4. Navigating through the website (using turbolinks
)
5. well, troubles start by here. turbolinks
change the DOM to each request, but when I retry to check if Crossrider extension is ready, and I'm investigating why, what i receive is false
. It seems not see anymore our extension.
I'm debugging this code to see if I get out from this problem.
has anyone succeeded with this? Any help or advice would be great!
Antonio