apps/system/js/quick_settings.js
/**
     * Gets all relevant elements with an id prefixed by quick-settings-.
     * @memberof QuickSettings.prototype
     */
Gets all relevant elements with an id prefixed by quick-settings-.
Gets all relevant elements with an id prefixed by quick - settings - .
function qs_getAllElements() {
      var toCamelCase = function toCamelCase(str) {
        return str.replace(/\-(.)/g, function replacer(str, p1) {
          return p1.toUpperCase();
        });
      };
      this.ELEMENTS.forEach(function createElementRef(name) {
        this[toCamelCase(name)] =
          document.getElementById('quick-settings-' + name);
      }, this);
      this.overlay = document.getElementById('quick-settings');
    }
function qs_getAllElements ( ) { var toCamelCase = function toCamelCase ( str ) { return str . replace ( / \-(.) / g , function replacer ( str , p1 ) { return p1 . toUpperCase ( ) ; } ) ; } ; this . ELEMENTS . forEach ( function createElementRef ( name ) { this [ toCamelCase ( name ) ] = document . getElementById ( 'quick-settings-' + name ) ; } , this ) ; this . overlay = document . getElementById ( 'quick-settings' ) ; }
Gets all relevant elements with an id prefixed by quick-settings-.
Gets all relevant elements with an id prefixed by quick - settings - .