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

[WIP] Remove globals from api loader #956

Closed
wants to merge 1 commit into from
Closed

Conversation

gjn
Copy link
Contributor

@gjn gjn commented Aug 15, 2014

Do not merge this

This applies geoadmin/ol3#106 as ol3.

It adapts the loader to remove the need to define the GeoAdmin global variables. It removes the ol3-install and ol3-serverconfig targets (they are not needed).

It works in almost all browsers I testet...only IE9 doesn't work. IE9 does not execute the document.write statements synchronously, so the loader fails. Did not find a workaround yet...

@gjn
Copy link
Contributor Author

gjn commented Aug 15, 2014

Reminder to self: prod mode uses ga-whitespace...can't correct now because mf0t is read-only :)

@oterral
Copy link
Contributor

oterral commented Aug 18, 2014

Don't you think we could put all the content of js files in the loader.js ? with that we can get rid of the doucment.write statements.

@loicgasser loicgasser deleted the gjn_loader_removeglobals branch November 4, 2016 12:39
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.

3 participants