Align the callback param orders

This commit is contained in:
Luke Page
2013-03-19 14:19:02 +00:00
parent 40ce2bc4b4
commit 08fca7a7cc
2 changed files with 13 additions and 13 deletions

View File

@@ -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);
};
}