models/Table.js
function resolveMethod(wrapedMethod, methodRaw){

				// Get method string and `methodify` it recursivelly
				var method = getMethodFor(methodRaw);

				// Check if method is ok to continue, or, return null
				if(!method) throw new Error('Could not parse method: '+methodRaw);

				// Create a wrapped method of the current one, with this one
				return function(scores){
					return wrapedMethod(method(scores));
				}
			}
function resolveMethod(wrapedMethod, methodRaw){

				// Get method string and `methodify` it recursivelly
				var method = getMethodFor(methodRaw);

				// Check if method is ok to continue, or, return null
				if(!method) throw new Error('Could not parse method: '+methodRaw);

				// Create a wrapped method of the current one, with this one
				return function(scores){
					return wrapedMethod(method(scores));
				}
			}
function resolveMethod ( wrapedMethod , methodRaw ) { // Get method string and `methodify` it recursivelly var method = getMethodFor ( methodRaw ) ; // Check if method is ok to continue, or, return null if ( ! method ) throw new Error ( 'Could not parse method: ' + methodRaw ) ; // Create a wrapped method of the current one, with this one return function ( scores ) { return wrapedMethod ( method ( scores ) ) ; } }
Default function to resolve methods
Default function to resolve methods