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

Commit

Permalink
fix: missing dist files for 0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
troch committed Aug 19, 2015
1 parent cbe00c4 commit 6092808
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "router5-react",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "http://router5.github.io",
"authors": [
"Thomas Roch <thomas.c.roch@gmail.com>"
Expand Down
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.nativeEvent.which === 1) {
if (!evt.nativeEvent.which === 2) {
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.nativeEvent.which === 1) {
if (!evt.nativeEvent.which === 2) {
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.nativeEvent.which === 1) {
if (!evt.nativeEvent.which === 2) {
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.2",
"version": "0.1.3",
"description": "router5 helpers for React",
"main": "dist/commonjs/index.js",
"scripts": {
Expand Down

0 comments on commit 6092808

Please sign in to comment.