code: function getMethodList(obj) {
      var arr = obj && typeof obj === 'string' ? [obj] : obj, list;
      if (arr) {
        list = {};
        arr.forEach(function(item) {
          list[item.toLowerCase()] = true;
        });
      }
      return list;
    }
docs: /* ------------ Options --------------