Skip to content

Commit

Permalink
Fixed performance issue (see browserstate#462).
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam McCann committed Aug 11, 2016
1 parent db56b3c commit 614f1e0
Show file tree
Hide file tree
Showing 30 changed files with 60 additions and 30 deletions.
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/dojo.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3280,7 +3280,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/extjs.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3250,7 +3250,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/jquery.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3236,7 +3236,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/mootools.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3243,7 +3243,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/native.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3280,7 +3280,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/right.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3237,7 +3237,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html4+html5/zepto.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -3233,7 +3233,9 @@ if (typeof JSON !== 'object') {
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/dojo.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/extjs.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/jquery.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2070,7 +2070,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/mootools.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/native.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/right.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2067,7 +2067,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
4 changes: 3 additions & 1 deletion scripts/bundled-uncompressed/html5/zepto.history.js
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,9 @@
};

// For Internet Explorer
History.intervalList.push(setInterval(History.onUnload,History.options.storeInterval));
if ( History.isInternetExplorer() && History.getInternetExplorerMajorVersion() < 9 ) {
History.intervalList.push(setInterval(History.onUnload, History.options.storeInterval));
}

// For Other Browsers
History.Adapter.bind(window,'beforeunload',History.onUnload);
Expand Down
2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/dojo.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/extjs.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/jquery.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/mootools.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/native.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/right.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html4+html5/zepto.history.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/bundled/html5/dojo.history.js

Large diffs are not rendered by default.

Loading

0 comments on commit 614f1e0

Please sign in to comment.