docs: function regComp(config) {
          var newConfig = {
              classConstructor: config.comp,
              className: config.compAsString || config['compAsString'],
              cssClass: config.css || config['css'],
              callbacks: [],
              dependencies: config.dependencies || []
          };
          config.comp.prototype.compType = config.compAsString;
          for (var i = 0; i < this.registeredControls.length; i++) {
              var item = this.registeredControls[i];
              //registeredControls.forEach(function(item) {
              if (item.cssClass === newConfig.cssClass) {
                  throw new Error('The provided cssClass has already been registered: ' + item.cssClass);
              }
              if (item.className === newConfig.className) {
                  throw new Error('The provided className has already been registered');
              }
          };
          this.registeredControls.push(newConfig);
      }