nl_tokens: Compare 2 specified versions starting from left to right . If a part contains special version strings they are handled in the following order : dev < alpha = a < beta = b < RC = rc < # < pl = p < anything else
pl_tokens: function ( current , target ) { var currentValue , targetValue , i ; current = new Version ( current ) . toArray ( ) ; target = <mask> Version ( target ) . toArray ( ) ; for ( i = 0 ; i < Math . max ( current . length , target . length ) ; i ++ ) { currentValue = this . getComponentValue ( current [ i ] ) ; targetValue = this . getComponentValue ( target [ i ] ) ; if ( currentValue < targetValue ) { return - 1 ; } else if ( currentValue > targetValue ) { return 1 ; } } return 0 ; }