Skip to content

Commit

Permalink
chore(all): prepare release 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed May 31, 2019
1 parent 5807961 commit 6c04fa2
Show file tree
Hide file tree
Showing 15 changed files with 33 additions and 37 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-history-browser",
"version": "1.3.2",
"version": "1.4.0",
"description": "An implementation of the Aurelia history interface based on standard browser hash change and push state mechanisms.",
"keywords": [
"aurelia",
Expand Down
8 changes: 4 additions & 4 deletions dist/amd/aurelia-history-browser.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/amd/aurelia-history-browser.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/commonjs/aurelia-history-browser.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/aurelia-history-browser.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/es2015/aurelia-history-browser.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/es2015/aurelia-history-browser.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/es2017/aurelia-history-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BrowserHistory extends History {
constructor(linkHandler) {
super();
this._isActive = false;
this._checkUrl = this._checkUrl.bind(this);
this._checkUrlCallback = this._checkUrl.bind(this);
this.location = PLATFORM.location;
this.history = PLATFORM.history;
this.linkHandler = linkHandler;
Expand All @@ -97,7 +97,7 @@ class BrowserHistory extends History {
else if (wantsHashChange) {
eventName = 'hashchange';
}
PLATFORM.addEventListener(eventName, this._checkUrl);
PLATFORM.addEventListener(eventName, this._checkUrlCallback);
if (wantsHashChange && wantsPushState) {
let $location = this.location;
let atRoot = $location.pathname.replace(/[^\/]$/, '$&/') === rootUrl;
Expand All @@ -120,7 +120,7 @@ class BrowserHistory extends History {
}
}
deactivate() {
const handler = this._checkUrl;
const handler = this._checkUrlCallback;
PLATFORM.removeEventListener('popstate', handler);
PLATFORM.removeEventListener('hashchange', handler);
this._isActive = false;
Expand Down Expand Up @@ -210,7 +210,7 @@ class BrowserHistory extends History {
fragment = this._getHash();
}
}
return decodeURIComponent('/' + fragment.replace(routeStripper, ''));
return '/' + fragment.replace(routeStripper, '');
}
_checkUrl() {
let current = this._getFragment('');
Expand Down
8 changes: 4 additions & 4 deletions dist/native-modules/aurelia-history-browser.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/native-modules/aurelia-history-browser.js.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/system/aurelia-history-browser.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/system/aurelia-history-browser.js.map

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions doc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
## [1.3.2](https://github.com/aurelia/history-browser/compare/1.3.1...1.3.2) (2019-04-22)

# [1.4.0](https://github.com/aurelia/history-browser/compare/1.3.2...1.4.0) (2019-05-31)

### Bug Fixes

* **browser-history:** decode fragment, add tests ([957532d](https://github.com/aurelia/history-browser/commit/957532d))



## [1.3.2](https://github.com/aurelia/history-browser/compare/1.3.1...1.3.2) (2019-04-20)



<a name="1.3.2"></a>
## [1.3.2](https://github.com/aurelia/history-browser/compare/1.3.0...1.3.2) (2019-03-27)

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-history-browser",
"version": "1.3.2",
"version": "1.4.0",
"description": "An implementation of the Aurelia history interface based on standard browser hash change and push state mechanisms.",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 6c04fa2

Please sign in to comment.