<commit_before>Zepto(function(z) {
  // Private

  var _funcList = []
  , _modList = []
  , maxOptions = 10
  , isScrollable = false

  , _getFuncList = function(obj) {
    if (!obj || (typeof obj !== 'function' && typeof obj !== 'object')) {
      return;
    } 
    for (var key in obj) {
      if (obj.hasOwnProperty(key)) {
        if (typeof obj[key] === 'function' && _funcList.indexOf(key) == -1) {
          _funcList.push(key);
        } else if (typeof obj[key] === 'object') {
          _getFuncList(obj[key]);
        }
      }
    }
    return _funcList;
  }

  , _getZeptoModules = function(obj) {
    for (var key in z) {
      if (typeof z[key] === 'function' && _modList.indexOf(key) == -1) {
        _modList.push(key); 
      }
    }
    return _modList;
  }
<commit_msg>Fixed auto complete scroll<commit_after>Zepto(function(z) {
  // Private

  var _funcList = []
  , _modList = []
  , maxOptions = 10
  , isScrollable = true

  , _getFuncList = function(obj) {
    if (!obj || (typeof obj !== 'function' && typeof obj !== 'object')) {
      return;
    } 
    for (var key in obj) {
      if (obj.hasOwnProperty(key)) {
        if (typeof obj[key] === 'function' && _funcList.indexOf(key) == -1) {
          _funcList.push(key);
        } else if (typeof obj[key] === 'object') {
          _getFuncList(obj[key]);
        }
      }
    }
    return _funcList;
  }

  , _getZeptoModules = function(obj) {
    for (var key in z) {
      if (typeof z[key] === 'function' && _modList.indexOf(key) == -1) {
        _modList.push(key); 
      }
    }
    return _modList;
  }

{'fraction_non_alphanumeric': 0.1670854271356784, 'fraction_numerical': 0.005025125628140704, 'mean_word_length': 2.186, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4471218', 'n_tokens_mistral': 572, 'n_tokens_neox': 557, 'n_words': 119}