From ab54dcf84d52e17e0a0106f506702ae53ae1a6d9 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 22 Jun 2017 10:03:58 +0200 Subject: [PATCH] make libs pass jshint --- www/common/LessLoader.js | 4 ++-- www/common/RequireLess.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/common/LessLoader.js b/www/common/LessLoader.js index 1b4d3bb96..a2ba28c0c 100644 --- a/www/common/LessLoader.js +++ b/www/common/LessLoader.js @@ -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; -})/*::()*/; \ No newline at end of file +})/*::()*/; diff --git a/www/common/RequireLess.js b/www/common/RequireLess.js index 69904cfc8..f681e9b1c 100644 --- a/www/common/RequireLess.js +++ b/www/common/RequireLess.js @@ -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; -}); \ No newline at end of file +});