diff --git a/lib/less/parser.js b/lib/less/parser.js index b5299a5..40f9000 100644 --- a/lib/less/parser.js +++ b/lib/less/parser.js @@ -1038,9 +1038,7 @@ if (typeof(window) !== 'undefined') { if (path[0] !== '/' && paths.length > 0) { path = paths[0] + path; } - loadStyleSheet({ href: path, title: path }, function (root) { - callback(root); - }); + loadStyleSheet({ href: path, title: path }, callback, true); }; }