1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

fix mistype

This commit is contained in:
Denis Demchenko 2016-06-28 11:16:11 +03:00
parent 1450cb756f
commit b84c5c09fb

View File

@ -448,7 +448,7 @@
* compareVersions(['1.10.2.1', '1.0800.2']); // -1 * compareVersions(['1.10.2.1', '1.0800.2']); // -1
* *
* @param {Array<String>} versions versions to compare * @param {Array<String>} versions versions to compare
* @return {Number} comparision result * @return {Number} comparison result
*/ */
function compareVersions(versions) { function compareVersions(versions) {
// 1) get common precision for both versions, for example for "10.0" and "9" it should be 2 // 1) get common precision for both versions, for example for "10.0" and "9" it should be 2