Skip to content

Commit 2cad95c

Browse files
committed
fast fix: advanced compression failed
1 parent 7c10f3b commit 2cad95c

7 files changed

Lines changed: 41 additions & 41 deletions

File tree

bower.json

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

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "html5-history-api",
3-
"version": "4.2.9",
3+
"version": "4.2.10",
44
"description": "HTML5 History API expansion for browsers not supporting pushState, replaceState",
55
"main": "history.js",
66
"scripts": ["history.js"],

history.ielte7.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* History API JavaScript Library v4.2.9
2+
* History API JavaScript Library v4.2.10
33
*
44
* Support: IE6+, FF3+, Opera 9+, Safari, Chrome and other
55
*
@@ -10,7 +10,7 @@
1010
* MIT license:
1111
* http://www.opensource.org/licenses/mit-license.php
1212
*
13-
* Update: 2018-04-13 10:30
13+
* Update: 2018-04-15 13:54
1414
*/
1515
(function(factory) {
1616
if (typeof define === 'function' && define['amd']) {
@@ -507,8 +507,8 @@
507507
*/
508508
function maybeBindToGlobal(func) {
509509
if (func && global &&
510-
global.EventTarget &&
511-
typeof global.EventTarget.prototype.addEventListener === 'function' &&
510+
global['EventTarget'] &&
511+
typeof global['EventTarget'].prototype.addEventListener === 'function' &&
512512
typeof func.bind === 'function') {
513513
return func.bind(global);
514514
}

history.ielte7.min.js

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

history.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* History API JavaScript Library v4.2.9
2+
* History API JavaScript Library v4.2.10
33
*
44
* Support: IE8+, FF3+, Opera 9+, Safari, Chrome and other
55
*
@@ -10,7 +10,7 @@
1010
* MIT license:
1111
* http://www.opensource.org/licenses/mit-license.php
1212
*
13-
* Update: 2018-04-13 10:30
13+
* Update: 2018-04-15 13:54
1414
*/
1515
(function(factory) {
1616
if (typeof define === 'function' && define['amd']) {
@@ -507,8 +507,8 @@
507507
*/
508508
function maybeBindToGlobal(func) {
509509
if (func && global &&
510-
global.EventTarget &&
511-
typeof global.EventTarget.prototype.addEventListener === 'function' &&
510+
global['EventTarget'] &&
511+
typeof global['EventTarget'].prototype.addEventListener === 'function' &&
512512
typeof func.bind === 'function') {
513513
return func.bind(global);
514514
}

0 commit comments

Comments
 (0)