mirror of
https://github.com/less/less.js.git
synced 2026-04-09 03:00:20 -04:00
cleanup callback
This commit is contained in:
@@ -223,7 +223,7 @@ if (/!watch/.test(location.hash)) {
|
||||
//
|
||||
// Get all <link> tags with the 'rel' attribute set to "stylesheet/less"
|
||||
//
|
||||
less.registerStylesheets = function(callback) {
|
||||
less.registerStylesheets = function() {
|
||||
return new PromiseConstructor(function(resolve, reject) {
|
||||
var links = document.getElementsByTagName('link');
|
||||
less.sheets = [];
|
||||
|
||||
Reference in New Issue
Block a user