make libs pass jshint

This commit is contained in:
ansuz 2017-06-22 10:03:58 +02:00
parent 48f9745619
commit ab54dcf84d
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ define([
localStorage['LESS_CACHE'] = key;
};
var load = module.exports.load = function (url /*:string*/, cb /*:()=>void*/) {
module.exports.load = function (url /*:string*/, cb /*:()=>void*/) {
checkCache();
if (localStorage['LESS_CACHE|' + key + '|' + url]) {
inject(localStorage['LESS_CACHE|' + key + '|' + url], url);
@ -61,4 +61,4 @@ define([
};
return module.exports;
})/*::()*/;
})/*::()*/;

View File

@ -5,8 +5,8 @@ define([
api.normalize = function(name, normalize) {
return normalize(name);
};
api.load = function(cssId, req, load, config) {
api.load = function(cssId, req, load /*, config */) {
LessLoader.load(cssId, load);
};
return api;
});
});