Skip to content
This repository has been archived by the owner on May 23, 2018. It is now read-only.

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
troch committed Jul 31, 2015
1 parent 5d344a2 commit c219ac8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/amd/link-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ define(['exports', 'module', 'react'], function (exports, module, _react) {
},

clickHandler: function clickHandler(evt) {
if (evt.which === 1) {
if (evt.nativeEvent.which === 1) {
evt.preventDefault();
router.navigate(this.props.routeName, this.props.routeParams, this.props.routeOptions);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/router5-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function linkFactory(router) {
},

clickHandler: function clickHandler(evt) {
if (evt.which === 1) {
if (evt.nativeEvent.which === 1) {
evt.preventDefault();
router.navigate(this.props.routeName, this.props.routeParams, this.props.routeOptions);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/router5-react.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/commonjs/link-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function linkFactory(router) {
},

clickHandler: function clickHandler(evt) {
if (evt.which === 1) {
if (evt.nativeEvent.which === 1) {
evt.preventDefault();
router.navigate(this.props.routeName, this.props.routeParams, this.props.routeOptions);
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "router5-react",
"version": "0.1.0",
"version": "0.1.1",
"description": "router5 helpers for React",
"main": "dist/commonjs/index.js",
"scripts": {
Expand Down

0 comments on commit c219ac8

Please sign in to comment.