Skip to content
Browse files

fix loading stylesheet from cache

Overlooked when callback signatures were updated in b9dbfc0 & b5dd30f.
  • Loading branch information...
1 parent 557177c commit 180721fb53524ed090ffb88e5bb29310290baaf9 @tamias committed Jan 26, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/less/browser.js
View
2 lib/less/browser.js
@@ -143,7 +143,7 @@ function loadStyleSheet(sheet, callback, reload, remaining) {
new(Date)(styles.timestamp).valueOf())) {
// Use local copy
createCSS(styles.css, sheet);
- callback(null, sheet, { local: true, remaining: remaining });
+ callback(null, null, data, sheet, { local: true, remaining: remaining });
} else {
// Use remote copy (re-parse)
try {

1 comment on commit 180721f

@jbboehr
jbboehr commented on 180721f Feb 6, 2012

Yeah, having this problem too. Thanks for the fix!

Please sign in to comment.
Something went wrong with that request. Please try again.