mirror of
https://github.com/less/less.js.git
synced 2026-01-22 21:58:14 -05:00
more sane resolve
This commit is contained in:
@@ -233,11 +233,9 @@ less.registerStylesheets = function(callback) {
|
||||
(links[i].type.match(typePattern)))) {
|
||||
less.sheets.push(links[i]);
|
||||
}
|
||||
|
||||
if (i === links.length - 1) {
|
||||
resolve();
|
||||
}
|
||||
}
|
||||
|
||||
resolve();
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user