mutators.js
function delimiterMutator(input){
	var delimiter=this.ra([' ','\n','<','>','\"','\'',',','.',';','|'])
//	console.log('Delimiter: '+delimiter)
	var chunks=input.split(delimiter)
	var chunk=this.ra(chunks)
	if(chunk.length>5 && chunk.length<300)
		this.storage.storeKeyValuePair([delimiter,chunk],'delimiterMutator')
	var oldChunk=this.storage.getValueForKey(delimiter,'delimiterMutator')
				
	if(chunks.length<3 || chunks.length<input.length/300){
//		console.log('Fail:'+ (chunks.length)+'<'+(input.length/300) )
		return false
	}
	switch(this.rint(3)) {
    case 0:
//    	console.log('Repeat')
    	return chunkRepeat.call(this,chunks,delimiter,oldChunk)
    case 1:
//    	console.log('Swap')
    	return chunkSwap.call(this,chunks,delimiter,oldChunk)
    case 2:
//    	console.log('Move')
    	return chunkMove.call(this,chunks,delimiter)
    default:
        console.log('WTF?')
	}
}
function delimiterMutator(input){
	var delimiter=this.ra([' ','\n','<','>','\"','\'',',','.',';','|'])
//	console.log('Delimiter: '+delimiter)
	var chunks=input.split(delimiter)
	var chunk=this.ra(chunks)
	if(chunk.length>5 && chunk.length<300)
		this.storage.storeKeyValuePair([delimiter,chunk],'delimiterMutator')
	var oldChunk=this.storage.getValueForKey(delimiter,'delimiterMutator')
				
	if(chunks.length<3 || chunks.length<input.length/300){
//		console.log('Fail:'+ (chunks.length)+'<'+(input.length/300) )
		return false
	}
	switch(this.rint(3)) {
    case 0:
//    	console.log('Repeat')
    	return chunkRepeat.call(this,chunks,delimiter,oldChunk)
    case 1:
//    	console.log('Swap')
    	return chunkSwap.call(this,chunks,delimiter,oldChunk)
    case 2:
//    	console.log('Move')
    	return chunkMove.call(this,chunks,delimiter)
    default:
        console.log('WTF?')
	}
}
function delimiterMutator ( input ) { var delimiter = this . ra ( [ ' ' , '\n' , '<' , '>' , '\"' , '\'' , ',' , '.' , ';' , '|' ] ) //	console.log('Delimiter: '+delimiter) var chunks = input . split ( delimiter ) var chunk = this . ra ( chunks ) if ( chunk . length > 5 && chunk . length < 300 ) this . storage . storeKeyValuePair ( [ delimiter , chunk ] , 'delimiterMutator' ) var oldChunk = this . storage . getValueForKey ( delimiter , 'delimiterMutator' ) if ( chunks . length < 3 || chunks . length < input . length / 300 ) { //		console.log('Fail:'+ (chunks.length)+'<'+(input.length/300) ) return false } switch ( this . rint ( 3 ) ) { case 0 : //    	console.log('Repeat') return chunkRepeat . call ( this , chunks , delimiter , oldChunk ) case 1 : //    	console.log('Swap') return chunkSwap . call ( this , chunks , delimiter , oldChunk ) case 2 : //    	console.log('Move') return chunkMove . call ( this , chunks , delimiter ) default : console . log ( 'WTF?' ) } }
String mutators Leaving in console.logs for now. Will remove them once this new mutator is tested properly.
String mutators Leaving in console . logs for now . Will remove them once this new mutator is tested properly .