Load less files only once

pull/1/head
yflory 5 years ago
parent 66b74b0a68
commit 9929ce3568

@ -99,7 +99,7 @@ define([
if (lessEngine) {
cb(lessEngine);
} else {
require(['/bower_components/less/dist/less.min.js'], function (Less) {
require(['/common/less.min.js'], function (Less) {
if (lessEngine) { return void cb(lessEngine); }
lessEngine = Less;
Less.functions.functionRegistry.add('LessLoader_currentFile', function () {

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save