src/pyjamas.js
/**
         * Returns the difference between two version numbers. This is a
         * pairwise comparison of each element in the version identifier.
         *
         * @param base  {string} Base version
         * @param other {string} Version to compare to
         *
         * @return {Array<int>} A pairwise comparison of each version number
         * @memberof Pyjamas.Version
         */
Returns the difference between two version numbers. This is a
pairwise comparison of each element in the version identifier.

@param base  {string} Base version
@param other {string} Version to compare to

@return {Array} A pairwise comparison of each version number
@memberof Pyjamas.Version
Returns the difference between two version numbers . This is a pairwise comparison of each element in the version identifier . @param base { string } Base version @param other { string } Version to compare to @return { Array } A pairwise comparison of each version number @memberof Pyjamas . Version
function diff (base, other) {
            var o = split(other);
            return split(base).map(function (v, i) {
                return v - o[i];
            });
        }
function diff ( base , other ) { var o = split ( other ) ; return split ( base ) . map ( function ( v , i ) { return v - o [ i ] ; } ) ; }
Returns the difference between two version numbers.
Returns the difference between two version numbers .
// Map over the base version and subtract the // corresponding index of the other version