@@ -160,7 +160,6 @@ module.exports = Link;
160160var React = ( typeof window !== "undefined" ? window . React : typeof global !== "undefined" ? global . React : null ) ;
161161var warning = _dereq_ ( 'react/lib/warning' ) ;
162162var invariant = _dereq_ ( 'react/lib/invariant' ) ;
163- var emptyFunction = _dereq_ ( 'react/lib/emptyFunction' ) ;
164163var ExecutionEnvironment = _dereq_ ( 'react/lib/ExecutionEnvironment' ) ;
165164var mergeProperties = _dereq_ ( '../helpers/mergeProperties' ) ;
166165var goBack = _dereq_ ( '../helpers/goBack' ) ;
@@ -604,7 +603,7 @@ function computeHandlerProps(matches, query) {
604603 key : null ,
605604 params : null ,
606605 query : null ,
607- activeRouteHandler : emptyFunction . thatReturnsNull
606+ activeRouteHandler : returnNull
608607 } ;
609608
610609 var childHandler ;
@@ -621,7 +620,7 @@ function computeHandlerProps(matches, query) {
621620 if ( childHandler ) {
622621 props . activeRouteHandler = childHandler ;
623622 } else {
624- props . activeRouteHandler = emptyFunction . thatReturnsNull ;
623+ props . activeRouteHandler = returnNull ;
625624 }
626625
627626 childHandler = function ( props , addedProps ) {
@@ -635,13 +634,17 @@ function computeHandlerProps(matches, query) {
635634 return props ;
636635}
637636
637+ function returnNull ( ) {
638+ return null ;
639+ }
640+
638641function reversedArray ( array ) {
639642 return array . slice ( 0 ) . reverse ( ) ;
640643}
641644
642645module . exports = Route ;
643646
644- } , { "../helpers/Path" :4 , "../helpers/goBack" :6 , "../helpers/mergeProperties" :9 , "../helpers/replaceWith" :10 , "../helpers/transitionTo" :11 , "../helpers/withoutProperties" :12 , "../stores/ActiveStore" :15 , "../stores/RouteStore" :16 , "../stores/URLStore" :17 , "es6-promise" :21 , "react/lib/ExecutionEnvironment" :46 , "react/lib/emptyFunction" : 48 , "react/lib/ invariant" :49 , "react/lib/warning" :50 } ] , 4 :[ function ( _dereq_ , module , exports ) {
647+ } , { "../helpers/Path" :4 , "../helpers/goBack" :6 , "../helpers/mergeProperties" :9 , "../helpers/replaceWith" :10 , "../helpers/transitionTo" :11 , "../helpers/withoutProperties" :12 , "../stores/ActiveStore" :15 , "../stores/RouteStore" :16 , "../stores/URLStore" :17 , "es6-promise" :21 , "react/lib/ExecutionEnvironment" :46 , "react/lib/invariant" :49 , "react/lib/warning" :50 } ] , 4 :[ function ( _dereq_ , module , exports ) {
645648var invariant = _dereq_ ( 'react/lib/invariant' ) ;
646649var qs = _dereq_ ( 'querystring' ) ;
647650var mergeProperties = _dereq_ ( './mergeProperties' ) ;
0 commit comments