cleanup callback

This commit is contained in:
Levi Thomason
2014-10-15 23:03:55 -07:00
parent 89358faefe
commit 0e821f1a4f

View File

@@ -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 = [];