modules/utils.js
function versionToString(version) {
    if (isObject(version)) {
        try {
            return [version.major, version.minor, version.patch].join('.');
        } catch (e) {}
    }
    return version;
}
function versionToString(version) {
    if (isObject(version)) {
        try {
            return [version.major, version.minor, version.patch].join('.');
        } catch (e) {}
    }
    return version;
}
function versionToString ( version ) { if ( isObject ( version ) ) { try { return [ version . major , version . minor , version . patch ] . join ( '.' ) ; } catch ( e ) { } } return version ; }
Convert a version object to a string.

@param  Mixed version  a version string or object
Convert a version object to a string .