Skip to content

Commit

Permalink
Stable version 1.2.2
Browse files Browse the repository at this point in the history
- Minor bug fixing
  • Loading branch information
michaelsogos committed Nov 1, 2015
1 parent 792e45c commit 84dc901
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ The library have no opinion about how you lazy load files, and most important
I hope you can appreciate my work and help me to improve this library with your suggestions.
Use it freely as you want!

Copyright (c) 2014 Michael Sogos, released under the MIT license.
Copyright (c) 2014 - 2016 Michael Sogos, released under the MIT license.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"Michael Sogos <[email protected]>",
"Anton Rodin <[email protected]>"
],
"version": "1.2.0",
"version": "1.2.2",
"description": "Tiny and lightweight browser router library, developed with SPA in mind :)",
"main": [ "src/hash-router.js", "src/hash-router.min.js", "src/hash-router.min.js.map" ],
"moduleType": [ "globals" ],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"homepage": "https://github.com/michaelsogos/Hash-Router",
"author": "Michael Sogos <[email protected]>",
"contributors": [ "Anton Rodin <[email protected]>" ],
"version": "1.2.0",
"version": "1.2.2",
"description": "Tiny and lightweight browser router library, developed with SPA in mind :)",
"main": "src/hash-router.js",
"files": [ "src/hash-router.js", "src/hash-router.min.js", "src/hash-router.min.js.map" ],
Expand Down
6 changes: 3 additions & 3 deletions src/hash-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* hash-router v1.2.0
* hash-router v1.2.2
* https://github.com/michaelsogos/Hash-Router
*
* Developed by Michael Sogos
Expand Down Expand Up @@ -38,7 +38,7 @@
"use strict";

(function (global) {

var Router = {
init: function (onRouteChange, onRouteNotFound) {
///<summary>Initialize the router and attach to url change event to the browser.</summary>
Expand Down Expand Up @@ -78,7 +78,7 @@
///</summary>
/// <param name="route">The route object.</param>

Router.__eventOnChange(route);
if (Router.__eventOnChange != null) Router.__eventOnChange(route);
Router.__run(route, 'before');
},
add: function (route, overwrite) {
Expand Down
4 changes: 2 additions & 2 deletions src/hash-router.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 src/hash-router.min.js.map

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

0 comments on commit 84dc901

Please sign in to comment.