[Commotion-dev] How to file issue on Commotion-OpenWRT luci theme - really really big font files

Benjamin Chodoroff ben at theworkdept.com
Mon May 6 14:29:19 UTC 2013


On Mon 06 May 2013 10:13:19 AM EDT, Dan Staples wrote:
> I believe I just fixed the issue submission, so try again and see if
> that works. I think it makes a lot of sense to trim down the luci
> theme. Our OpenWRT images have gone up 2MB since the last release, so
> stripping out unnecessary items is a great idea. I was also surprised
> it had a minified jQuery, which is still quite large. And why would we
> need both jQuery and Zepto? I don't think we have any javascript in the
> theme or elsewhere that requires jQuery. Zepto should do just fine...

Zepto functionality degrades in ie9 and below, so i set it up to fall 
back to jQuery in that case - only one of the two libraries is served 
to the client

One could feasibly pull out jquery if it were possible to test the 
interface in ie9 and below without the zepto function calls.

I agree about ditching Asap. Also, many of the images could be removed 
or at least simplified and compiled into sprites.

-b


More information about the Commotion-dev mailing list