[Pkg-javascript-commits] [less.js] 195/285: put the built-in cache on the less object

Jonas Smedegaard dr at jones.dk
Mon Oct 26 23:23:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag v2.0.0
in repository less.js.

commit d436b83c06239d50394cba275f2535adf68db6f4
Author: Luke Page <luke.a.page at gmail.com>
Date:   Sun Oct 19 18:42:07 2014 +0100

    put the built-in cache on the less object
---
 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 6cb3549..0553155 100644
--- a/lib/less-browser/index.js
+++ b/lib/less-browser/index.js
@@ -27,7 +27,7 @@ less.FileManager = FileManager;
 require("./log-listener")(less, options);
 var errors = require("./error-reporting")(window, less, options);
 var browser = require("./browser");
-var cache = options.cache || require("./cache")(window, options, less.logger);
+var cache = less.cache = options.cache || require("./cache")(window, options, less.logger);
 
 options.env = options.env || (window.location.hostname == '127.0.0.1' ||
                               window.location.hostname == '0.0.0.0'   ||

-- 
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