From 69b1c050e1a8a225ea692af3cc61111bccdfb53c Mon Sep 17 00:00:00 2001 From: cloudhead Date: Tue, 6 Jul 2010 16:49:39 +0200 Subject: [PATCH] reload imports when parsing a stylesheet --- lib/less/parser.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }; }