var warning = require('react/lib/warning');
var invariant = require('react/lib/invariant');

function checkPropTypes(componentName, propTypes, props) {
  for (var propName in propTypes) {
    if (propTypes.hasOwnProperty(propName)) {
      var error = propTypes[propName](props, propName, componentName);

      if (error instanceof Error)
        warning(false, error.message);
    }
  }
}

var Configuration = {

  statics: {

    validateProps: function (props) {
      checkPropTypes(this.displayName, this.propTypes, props);
    }

  },

  render: function () {
    invariant(
      false,
      '%s elements are for router configuration only and should not be rendered',
      this.constructor.displayName
    );
  }

};

module.exports = Configuration;

@@ -1,48 +1,4 @@
-var warning = require('react/lib/warning');%0A
 var 
@@ -46,456 +46,29 @@
 );%0A%0A
-function checkPropTypes(componentName, propTypes, props) %7B%0A  for (var propName in propTypes) %7B%0A    if (propTypes.hasOwnProperty(propName)) %7B%0A      var error = propTypes%5BpropName%5D(props, propName, componentName);%0A%0A      if (error instanceof Error)%0A        warning(false, error.message);%0A    %7D%0A  %7D%0A%7D%0A%0Avar Configuration = %7B%0A%0A  statics: %7B%0A%0A    validateProps: function (props) %7B%0A      checkPropTypes(this.displayName, this.propTypes, props);%0A    %7D%0A%0A  %7D,
+var Configuration = %7B
 %0A%0A  

Remove dead code