From 67dc0498d7233a4453c476043e929e22fb38394a Mon Sep 17 00:00:00 2001 From: cloudhead Date: Sun, 4 Jul 2010 21:19:56 +0200 Subject: [PATCH] fix refresh()'s timer output --- lib/less/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/less/browser.js b/lib/less/browser.js index 7726a00..cdcff5a 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -72,9 +72,10 @@ for (var i = 0; i < links.length; i++) { } } -var startTime = endTime = new(Date); less.refresh = function (reload) { + var startTime = endTime = new(Date); + loadStyleSheets(function (root, sheet, env) { if (env.local) { log("loading " + sheet.href + " from cache.");