mirror of
https://github.com/less/less.js.git
synced 2026-02-04 03:55:10 -05:00
cleanup browser.js
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user