Threaded View
-
18 Nov 2012 4:49 AM #1
Leaflet library breaks on production build
Leaflet library breaks on production build
Hello everyone
I'm trying to build my Sencha Touch application which is using the Leaflet Library (http://leafletjs.com/). As soon as I'm doing a production build with Sencha Cmd 3.0.0.250 the L variable gets overwritten by the compressed microloader in the index.html file.
L variable in index.html:
When I manually disable the ClosureCompressor in the [SenchaCmd]/plugins/touch/current/app-build.js file on line 355Code:function L(a,b){var c=k.createElement("iframe");m.push({iframe:c,callback:b});c.src=a+".html";c.style.cssText=
the microloader doesn't get compressed and my app works again.Code://compressor = new ClosureCompressor();
Is there a way to tell the compressor not to use the L variable?
Thanks in advance!
tschortsch
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote