Skip to content

Commit 9f16701

Browse files
committed
#59 standard hashchange event is broken
1 parent 0b02aa5 commit 9f16701

File tree

6 files changed

+44
-43
lines changed

6 files changed

+44
-43
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "history",
33
"repo": "devote/HTML5-History-API",
44
"description": "HTML5 History API expansion for browsers not supporting pushState, replaceState",
5-
"version": "4.1.8",
5+
"version": "4.1.9",
66
"keywords": ["history", "pushState", "replaceState"],
77
"main": "history.js",
88
"scripts": ["history.js"],

history.iegte8.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* History API JavaScript Library v4.1.8
2+
* History API JavaScript Library v4.1.9
33
*
44
* Support: IE8+, FF3+, Opera 9+, Safari, Chrome and other
55
*
@@ -11,7 +11,7 @@
1111
* http://www.opensource.org/licenses/mit-license.php
1212
* http://www.gnu.org/licenses/gpl.html
1313
*
14-
* Update: 2014-06-05 11:54
14+
* Update: 2014-06-21 22:46
1515
*/
1616
(function(factory) {
1717
if (typeof define === 'function' && define['amd']) {
@@ -775,7 +775,7 @@
775775
// current event object
776776
event = event || global.event;
777777

778-
var oldURLObject = parseURL(lastURL, true);
778+
var oldURLObject = parseURL(fireNow, true);
779779
var newURLObject = parseURL();
780780
// HTML4 browser not support properties oldURL/newURL
781781
if (!event.oldURL) {

history.iegte8.min.js

Lines changed: 15 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

history.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* History API JavaScript Library v4.1.8
2+
* History API JavaScript Library v4.1.9
33
*
44
* Support: IE6+, FF3+, Opera 9+, Safari, Chrome and other
55
*
@@ -11,7 +11,7 @@
1111
* http://www.opensource.org/licenses/mit-license.php
1212
* http://www.gnu.org/licenses/gpl.html
1313
*
14-
* Update: 2014-06-05 11:54
14+
* Update: 2014-06-21 22:46
1515
*/
1616
(function(factory) {
1717
if (typeof define === 'function' && define['amd']) {
@@ -775,7 +775,7 @@
775775
// current event object
776776
event = event || global.event;
777777

778-
var oldURLObject = parseURL(lastURL, true);
778+
var oldURLObject = parseURL(fireNow, true);
779779
var newURLObject = parseURL();
780780
// HTML4 browser not support properties oldURL/newURL
781781
if (!event.oldURL) {

0 commit comments

Comments
 (0)