Skip to content

Commit

Permalink
chore(all): add latest build artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
AureliaEffect committed Apr 22, 2019
1 parent 00515e6 commit 064575c
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 29 deletions.
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._checkUrlCallback = this._checkUrl.bind(this);
this._checkUrl = 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._checkUrlCallback);
PLATFORM.addEventListener(eventName, this._checkUrl);
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._checkUrlCallback;
const handler = this._checkUrl;
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 '/' + fragment.replace(routeStripper, '');
return decodeURIComponent('/' + 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.

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


### 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)


Expand Down

0 comments on commit 064575c

Please sign in to comment.