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

Commit

Permalink
fix: segment mixin factory export
Browse files Browse the repository at this point in the history
  • Loading branch information
troch committed Jul 7, 2015
1 parent 035ff74 commit 51700e0
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 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.0-alpha.2",
"version": "0.1.0-alpha.3",
"homepage": "http://router5.github.io",
"authors": [
"Thomas Roch <thomas.c.roch@gmail.com>"
Expand Down
2 changes: 1 addition & 1 deletion dist/amd/segment-mixin-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ define(["exports", "module"], function (exports, module) {

module.exports = segmentMixinFactory;

function segmentMixin(router) {
function segmentMixinFactory(router) {
return function (routeName, listener) {
return {
nodeListener: function nodeListener() {
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 @@ -90,7 +90,7 @@ function linkFactory(router) {
}
});
}
function segmentMixin(router) {
function segmentMixinFactory(router) {
return function (routeName, listener) {
return {
nodeListener: function nodeListener() {
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/segment-mixin-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
});
exports["default"] = segmentMixinFactory;

function segmentMixin(router) {
function segmentMixinFactory(router) {
return function (routeName, listener) {
return {
nodeListener: function nodeListener() {
Expand Down
2 changes: 1 addition & 1 deletion modules/segment-mixin-factory.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export default segmentMixinFactory

function segmentMixin(router) {
function segmentMixinFactory(router) {
return (routeName, listener) => ({
nodeListener() {
listener.call(this)
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-alpha.2",
"version": "0.1.0-alpha.3",
"description": "router5 helpers for React",
"main": "dist/commonjs/index.js",
"scripts": {
Expand Down

0 comments on commit 51700e0

Please sign in to comment.