cleanup browser.js

This commit is contained in:
cloudhead
2010-06-14 21:20:04 -04:00
parent 7b990c656a
commit 4135bbccbe

View File

@@ -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) {