make libs pass jshint

pull/1/head
ansuz 8 years ago
parent 48f9745619
commit ab54dcf84d

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

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

Loading…
Cancel
Save