plg_system_less icon indicating copy to clipboard operation
plg_system_less copied to clipboard

Fix for Javascript compiler

Open Klipper opened this issue 9 years ago • 2 comments

Hi Andreas,

Update less-1.3.3.js and less-1.3.3.min.js …

Fix for the issue with FireLess and the clientside javascript compilerversion of LessCompiler 0.8.1 stable and earlier.

Currently, when using the JavaScript compiler we have the issue described by Bass Jobsen on http://bassjobsen.weblogs.fm/fireless-less-v2/ The name and the path (tooltip) of the lessfile and the linenumbers gets bit crippled and because of that bad readable. Very annoying. Bass Jobsen describes a solution for LESS 2 compiler with a plugin for Less 2. Alas in current Joomla we still stick to LESS 1.3.3.

I'm not a regular expression expert, but I managed to port the solution of Bass to the less-1.3.3.js files. Screencaptures: http://img.aharef.nl/fixJavascriptcompilerFireless.png

Klipper avatar Sep 15 '15 14:09 Klipper

Hi @Klipper thanks a lot for your pull request! I will test it later today and merge it.

ndeet avatar Sep 16 '15 06:09 ndeet

Hi @ndeet, any progress with testing?

Klipper avatar Oct 29 '15 11:10 Klipper