index.js
function Mallet(element, options) {
  options = options || {};
  options.recognizers = ifUndefined(options.recognizers, Mallet.defaults.preset);
  return new Manager(element, options);
}
function Mallet(element, options) {
  options = options || {};
  options.recognizers = ifUndefined(options.recognizers, Mallet.defaults.preset);
  return new Manager(element, options);
}
function Mallet ( element , options ) { options = options || { } ; options . recognizers = ifUndefined ( options . recognizers , Mallet . defaults . preset ) ; return new Manager ( element , options ) ; }
Simple way to create an manager with a default set of recognizers.
@param {HTMLElement} element
@param {Object} [options]
@constructor
Simple way to create an manager with a default set of recognizers .