src/js/hammer.js
function getRecognizerByNameIfManager(otherRecognizer, recognizer) {
    var manager = recognizer.manager;
    if (manager) {
        return manager.get(otherRecognizer);
    }
    return otherRecognizer;
}
function getRecognizerByNameIfManager(otherRecognizer, recognizer) {
    var manager = recognizer.manager;
    if (manager) {
        return manager.get(otherRecognizer);
    }
    return otherRecognizer;
}
function getRecognizerByNameIfManager ( otherRecognizer , recognizer ) { var manager = recognizer . manager ; if ( manager ) { return manager . get ( otherRecognizer ) ; } return otherRecognizer ; }
get a recognizer by name if it is bound to a manager
@param {Recognizer|String} otherRecognizer
@param {Recognizer} recognizer
@returns {Recognizer}
get a recognizer by name if it is bound to a manager