openlayers / ol2

OpenLayers v2 - deprecated!
Other
1.47k stars 771 forks source link

mobile examples are broken #166

Open elemoine opened 12 years ago

elemoine commented 12 years ago

The mobile examples produce js errors in my iOS browers, and they don't load at all.

ahocevar commented 12 years ago

Looks like a build issue, because it works fine with my local clone and the dev loader. Investigating.

ahocevar commented 12 years ago

Hm. For some reason, OpenLayers.String is defined before OpenLayers when building with the mobile.cfg profile. BaseTypes.js is included before SingleFile.js.

ahocevar commented 12 years ago

The above commit is probably not the right fix, but it works around the issue.

ahocevar commented 12 years ago

Looks like something is wrong with the toposort in build.py. The same build configuration (without putting SingleFile first) works fine with jsbuild. I'll leave it to somebody else from here, since build.py is not my field of expertise.