resources/lib/jquery.i18n/src/jquery.i18n.language.js
File jquery.i18n.language.js
has 402 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/* global pluralRuleParser */
( function ( $ ) {
'use strict';
// jscs:disable
Function convertPlural
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
convertPlural: function ( count, forms ) {
var pluralRules,
pluralFormIndex,
index,
explicitPluralPattern = /\d+=/i,
Function convertNumber
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
convertNumber: function ( num, integer ) {
var tmp, item, i,
transformTable, numberString, convertedNumber;
// Set the target Transform table: