analytics.js
function bindMethods (obj, methods) {
  methods = [].slice.call(arguments, 1);
  for (var i = 0, method; method = methods[i]; i++) {
    obj[method] = bind(obj, obj[method]);
  }
  return obj;
}
function bindMethods (obj, methods) {
  methods = [].slice.call(arguments, 1);
  for (var i = 0, method; method = methods[i]; i++) {
    obj[method] = bind(obj, obj[method]);
  }
  return obj;
}
function bindMethods ( obj , methods ) { methods = [ ] . slice . call ( arguments , 1 ) ; for ( var i = 0 , method ; method = methods [ i ] ; i ++ ) { obj [ method ] = bind ( obj , obj [ method ] ) ; } return obj ; }
Bind `methods` on `obj` to always be called with the `obj` as context.

@param {Object} obj
@param {String} methods...
Bind methods on obj to always be called with the obj as context .