code: function getSites(data) {
          if (!data['mobileSites'].length) {
              data['mobileSites'] = data['sites'];
          }
  
          var sites = (isMobileScreen ? data['mobileSites'] : data['sites']).slice(0);
          var disabled = data['disabled'];
  
          if (typeof sites == 'string') {
              sites = sites.split(/\s*,\s*/);
          }
          if (typeof disabled == 'string') {
              disabled = disabled.split(/\s*,\s*/);
          }
  
          if (runningInWeChat) {
              disabled.push('wechat');
          }
  
          // Remove elements
          disabled.length && each(disabled, function (it) {
              sites.splice(inArray(it, sites), 1);
          });
  
          return sites;
      }
docs: Get available site lists.
  
  @param {Object} data
  
  @returns {Array}