Skip to content

Commit

Permalink
release v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Jul 24, 2014
1 parent 8152d67 commit f573591
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 10 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v0.4.1
Thu, 24 Jul 2014 21:35:07 GMT

8152d67 [changed] repo location to rackt/react-router
0ac4dea [removed] Dependency on react/lib/emptyFunction


v0.4.0
Thu, 24 Jul 2014 19:41:04 GMT

Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router",
"version": "0.4.0",
"version": "0.4.1",
"homepage": "https://github.com/rackt/react-router",
"authors": [
"Ryan Florence",
Expand All @@ -26,4 +26,4 @@
"package.json",
"webpack.config.js"
]
}
}
11 changes: 7 additions & 4 deletions dist/react-router.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ module.exports = Link;
var React = (typeof window !== "undefined" ? window.React : typeof global !== "undefined" ? global.React : null);
var warning = _dereq_('react/lib/warning');
var invariant = _dereq_('react/lib/invariant');
var emptyFunction = _dereq_('react/lib/emptyFunction');
var ExecutionEnvironment = _dereq_('react/lib/ExecutionEnvironment');
var mergeProperties = _dereq_('../helpers/mergeProperties');
var goBack = _dereq_('../helpers/goBack');
Expand Down Expand Up @@ -604,7 +603,7 @@ function computeHandlerProps(matches, query) {
key: null,
params: null,
query: null,
activeRouteHandler: emptyFunction.thatReturnsNull
activeRouteHandler: returnNull
};

var childHandler;
Expand All @@ -621,7 +620,7 @@ function computeHandlerProps(matches, query) {
if (childHandler) {
props.activeRouteHandler = childHandler;
} else {
props.activeRouteHandler = emptyFunction.thatReturnsNull;
props.activeRouteHandler = returnNull;
}

childHandler = function (props, addedProps) {
Expand All @@ -635,13 +634,17 @@ function computeHandlerProps(matches, query) {
return props;
}

function returnNull() {
return null;
}

function reversedArray(array) {
return array.slice(0).reverse();
}

module.exports = Route;

},{"../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){
},{"../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){
var invariant = _dereq_('react/lib/invariant');
var qs = _dereq_('querystring');
var mergeProperties = _dereq_('./mergeProperties');
Expand Down
4 changes: 2 additions & 2 deletions dist/react-router.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router",
"version": "0.4.0",
"version": "0.4.1",
"description": "A complete routing library for React.js",
"tags": [
"react",
Expand Down Expand Up @@ -54,4 +54,4 @@
"browserify-shim": {
"react": "global:React"
}
}
}

0 comments on commit f573591

Please sign in to comment.