code: function (userConfig, init) {
          
              var sKey,
                  oConfig;
  
              if (init) {
                  oConfig = {};
                  for (sKey in userConfig) {
                      if (Lang.hasOwnProperty(userConfig, sKey)) {
                          oConfig[sKey.toLowerCase()] = userConfig[sKey];
                      }
                  }
                  this.initialConfig = oConfig;
              }
  
              for (sKey in userConfig) {
                  if (Lang.hasOwnProperty(userConfig, sKey)) {
                      this.queueProperty(sKey, userConfig[sKey]);
                  }
              }
          }
docs: Applies a key-value Object literal to the configuration, replacing
  any existing values, and queueing the property events.
  Although the values will be set, fireQueue() must be called for their
  associated events to execute.
  @method applyConfig
  @param {Object} userConfig The configuration Object literal
  @param {Boolean} init  When set to true, the initialConfig will
  be set to the userConfig passed in, so that calling a reset will
  reset the properties to the passed values.