Showing 2 of 12 total issues
Function insertVersion
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
CssUrlVersioner.prototype.insertVersion = function() {
var arrayUrl, dot, doubleQuotes, extension, i, len, newRegEx, newString, numeral, patternExt, patternQuotes, patternRightBracket, patternSimbols, patternUrl, quote, singleQuote, theLastPartOfTheRegExp, url;
patternUrl = /url([\(]{1})([\"|\']?)([a-zA-Z0-9\@\.\/\s_-]+)([\#]?[a-zA-Z0-9_-]+)?([\"|\']?)([\)]{1})/g;
patternQuotes = /(\"|\')/g;
patternExt = /(\.{1}[a-zA-Z0-9]{2,4})(\"|\')?/g;
Function getTheLastPart
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
CssUrlVersioner.prototype.getTheLastPart = function(quote, numeral, singleQuote, doubleQuotes, patternSimbols) {