[Pkg-javascript-commits] [less.js] 18/58: Pass the css from the cache into the callback. Fixes #2381
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:28:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.3.0
in repository less.js.
commit 43773dd5501e0521e777509284f0a324e2cc919c
Author: Luke Page <luke.a.page at gmail.com>
Date: Mon Jan 12 19:39:51 2015 +0000
Pass the css from the cache into the callback. Fixes #2381
---
lib/less-browser/index.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/less-browser/index.js b/lib/less-browser/index.js
index 2f2e8b7..3708f53 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -116,7 +116,7 @@ function loadStyleSheet(sheet, callback, reload, remaining, modifyVars) {
var css = cache.getCSS(path, webInfo);
if (!reload && css) {
webInfo.local = true;
- callback(null, null, data, sheet, webInfo, path);
+ callback(null, css, data, sheet, webInfo, path);
return;
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list