nl_tokens: ////////////////////////////////////////////////////////////////////////// Psuedo - private methods ///////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////// Functional . _batchTests ( testPaths ) - testPaths ( Array )
pl_tokens: function ( testPaths ) { var batchCount = this . <mask> . batchCount var currentBatch = this . options . currentBatch if ( ! batchCount && ! currentBatch ) { return testPaths } var batchSize = Math . floor ( testPaths . length / batchCount ) var end = ( batchSize * currentBatch ) var start = ( end - batchSize ) if ( batchCount === currentBatch ) { end = undefined } return testPaths . slice ( start , end ) }