Skip to content
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

Plugin Sniffer: Map Asynchronous Loading #41

Merged
merged 1 commit into from
Apr 17, 2015
Merged

Plugin Sniffer: Map Asynchronous Loading #41

merged 1 commit into from
Apr 17, 2015

Conversation

larissa
Copy link

@larissa larissa commented Apr 17, 2015

I need a little control over script loading order to make the sniffer map work with pjax, since pjax evaluate external scripts from content asynchronously. I see you mentioned this behavior in an issue (defunkt/jquery-pjax#331) but so far there isn't a clear solution. In our case, we need the google map api to complete loading before evaluating infobox.js and custom_marker.js. There is a downside of my solution, since the scripts can possibly be loaded more than once, but I don't see another way to make this work with pjax and there doesn't seem to be consequences for the user experience. By the way, if you see a better way of doing this, I'm open for suggestions :)

  I need a little control over script loading order to make the sniffer
  map work with pjax
brauliobo added a commit that referenced this pull request Apr 17, 2015
Plugin Sniffer: Map Asynchronous Loading
@brauliobo brauliobo merged commit 82ea7f4 into CIRANDAS:next Apr 17, 2015
@brauliobo
Copy link

server restarting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants