Skip to content

Commit

Permalink
#59 standard hashchange event is broken
Browse files Browse the repository at this point in the history
  • Loading branch information
devote committed Jun 21, 2014
1 parent 0b02aa5 commit 9f16701
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 43 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "history",
"repo": "devote/HTML5-History-API",
"description": "HTML5 History API expansion for browsers not supporting pushState, replaceState",
"version": "4.1.8",
"version": "4.1.9",
"keywords": ["history", "pushState", "replaceState"],
"main": "history.js",
"scripts": ["history.js"],
Expand Down
6 changes: 3 additions & 3 deletions history.iegte8.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* History API JavaScript Library v4.1.8
* History API JavaScript Library v4.1.9
*
* Support: IE8+, FF3+, Opera 9+, Safari, Chrome and other
*
Expand All @@ -11,7 +11,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Update: 2014-06-05 11:54
* Update: 2014-06-21 22:46
*/
(function(factory) {
if (typeof define === 'function' && define['amd']) {
Expand Down Expand Up @@ -775,7 +775,7 @@
// current event object
event = event || global.event;

var oldURLObject = parseURL(lastURL, true);
var oldURLObject = parseURL(fireNow, true);
var newURLObject = parseURL();
// HTML4 browser not support properties oldURL/newURL
if (!event.oldURL) {
Expand Down
29 changes: 15 additions & 14 deletions history.iegte8.min.js

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

6 changes: 3 additions & 3 deletions history.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* History API JavaScript Library v4.1.8
* History API JavaScript Library v4.1.9
*
* Support: IE6+, FF3+, Opera 9+, Safari, Chrome and other
*
Expand All @@ -11,7 +11,7 @@
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* Update: 2014-06-05 11:54
* Update: 2014-06-21 22:46
*/
(function(factory) {
if (typeof define === 'function' && define['amd']) {
Expand Down Expand Up @@ -775,7 +775,7 @@
// current event object
event = event || global.event;

var oldURLObject = parseURL(lastURL, true);
var oldURLObject = parseURL(fireNow, true);
var newURLObject = parseURL();
// HTML4 browser not support properties oldURL/newURL
if (!event.oldURL) {
Expand Down
Loading

0 comments on commit 9f16701

Please sign in to comment.