- πΊπ¦Ukraine AstonVictor
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks
This module used to allow LESS to work in production but it seems a change stopped this from working.
I had to move the following lines:
// Placed less functions/validation inside of conditional to prevent
// unnecessary execution/resource usage.
$less = variable_get('live_css_less', 1);
// Add necessary javascript files to handle LESS files editing.
if ($less) {
drupal_add_js(drupal_get_path('module', 'live_css') . '/less-display.js');
drupal_add_js(drupal_get_path('module', 'live_css') . '/less-1.3.0.min.js');
}
From within the permission conditional to the outer part of `live_css_init` to get this to work again.
It's a useful feature to not have to worry about LESS compilation in production this way, and I use it on a few sites.
Closed: outdated
2.12
Code
I'm closing it because the issue was created a long time ago without any further steps.
if you still need it then raise a new one.
thanks