diff --git a/lib/less/browser.js b/lib/less/browser.js index 8d1726e2..2864f818 100644 --- a/lib/less/browser.js +++ b/lib/less/browser.js @@ -1,8 +1,4 @@ (function () { -// -// Select all links with the 'rel' attribute set to "less" -// -var sheets = []; less.env = location.hostname == '127.0.0.1' || location.hostname == '0.0.0.0' || @@ -14,7 +10,10 @@ less.env = location.hostname == '127.0.0.1' || less.watch = function () { return this.watchMode = true }; less.unwatch = function () { return this.watchMode = false }; -sheets = select('link[rel="stylesheet/less"]'); +// +// Select all links with the 'rel' attribute set to "less" +// +var sheets = select('link[rel="stylesheet/less"]'); loadStyleSheets(function (root, sheet, env) { if (env.local) {