mirror of
https://github.com/less/less.js.git
synced 2026-05-01 03:00:22 -04:00
Align the callback param orders
This commit is contained in:
@@ -1608,10 +1608,10 @@ if (less.mode === 'browser' || less.mode === 'rhino') {
|
||||
//
|
||||
less.Parser.fileLoader = function (path, currentFileInfo, callback, env) {
|
||||
|
||||
loadFile({href: path, type: env.mime }, env, currentFileInfo,
|
||||
function (e, data, sheet, webInfo, path, newFileInfo) {
|
||||
loadFile(path, currentFileInfo,
|
||||
function (e, data, path, newFileInfo) {
|
||||
callback(e, data, path, newFileInfo);
|
||||
});
|
||||
}, env);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user