jschardet
Advanced tools
Comparing version 2.3.0 to 3.0.0
{ | ||
"name": "jschardet", | ||
"version": "2.3.0", | ||
"version": "3.0.0", | ||
"description": "Character encoding auto-detection in JavaScript (port of python's chardet)", | ||
@@ -5,0 +5,0 @@ "author": "António Afonso", |
@@ -312,3 +312,3 @@ /* | ||
"keepEnglishLetter" : false, | ||
"charsetName" : "MacCyrillic" | ||
"charsetName" : "x-mac-cyrillic" | ||
}; | ||
@@ -315,0 +315,0 @@ |
@@ -97,5 +97,3 @@ /* | ||
if( this._mNumOfMBChar < 6 && mbCharRatio <= 0.6 ) { | ||
for( var i = 0; i < this._mNumOfMBChar; i++ ) { | ||
unlike *= Math.pow(ONE_CHAR_PROB, this._mNumOfMBChar); | ||
} | ||
unlike *= Math.pow(ONE_CHAR_PROB, this._mNumOfMBChar); | ||
return 1 - unlike; | ||
@@ -102,0 +100,0 @@ } else { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
1297989
52
16095