mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-11-27 01:36:43 -05:00
address eslint errors
This commit is contained in:
parent
85962a537a
commit
e7c2aa4d60
10 changed files with 15 additions and 16 deletions
|
|
@ -727,7 +727,7 @@ jQuery.PrivateBin = (function($) {
|
|||
* @param {...*} args - one or multiple parameters injected into placeholders
|
||||
* @return {string}
|
||||
*/
|
||||
me.translate = function()
|
||||
me.translate = function() // eslint-disable-line complexity
|
||||
{
|
||||
// convert parameters to array
|
||||
let args = Array.prototype.slice.call(arguments),
|
||||
|
|
@ -855,7 +855,7 @@ jQuery.PrivateBin = (function($) {
|
|||
* @param {int} n
|
||||
* @return {int} array key
|
||||
*/
|
||||
me.getPluralForm = function(n) {
|
||||
me.getPluralForm = function(n) { // eslint-disable-line complexity
|
||||
switch (language)
|
||||
{
|
||||
case 'ar':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue