Commit 6ea9a841 6ea9a841289ab805a8b8b25a4143766b5bf391b3 by Nicolas Perriault

jshint

1 parent 1fc454ef
......@@ -641,6 +641,7 @@ exports.unique = unique;
* @return Number
*/
function cmpVersion(a, b) {
"use strict";
var i, cmp, len, re = /(\.0)+[^\.]*$/;
function versionToString(version) {
if (isObject(version)) {
......@@ -673,6 +674,7 @@ exports.cmpVersion = cmpVersion;
* @return Boolean
*/
function gteVersion(a, b) {
"use strict";
return cmpVersion(a, b) >= 0;
}
exports.gteVersion = gteVersion;
......@@ -685,6 +687,7 @@ exports.gteVersion = gteVersion;
* @return Boolean
*/
function ltVersion(a, b) {
"use strict";
return cmpVersion(a, b) < 0;
}
exports.ltVersion = ltVersion;
......