Avatar

YUI Compressor for min-Versions of JS and CSS files (Project organisation)

by Micha ⌂, Tuesday, October 11, 2016, 07:46 (2844 days ago) @ glorifyday

Hi,

Do you normally edit main.js and use some automatic tool to condense it to main.min.js?

Yes, that's the way. Please note the comment in the main.js:

/***********************************************************************
* NOTICE: In order to reduce bandwidth usage, a minimized version of   *
* this script is used by default (main.min.js). Changes in this file   *
* do not have any effect unless it is loaded by the template           *
* (themes/[THEME FOLDER]/main.tpl).                                    *
* The minimized version was created with the YUI Compressor            *
* <http://developer.yahoo.com/yui/compressor/>.                        *
***********************************************************************/

A online-version of the YUI is: http://ganquan.info/yui/

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

locked
58105 views

Complete thread:

 RSS Feed of thread