BYK / av-jslib

Automatically exported from code.google.com/p/av-jslib
Other
1 stars 0 forks source link

Using the newly introduced window.onhashchange event in History module #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On which module this enhancement will be?
History module

What is the enhancement exactly?
New browsers such as Mozilla Firefox 3.6 and Microsoft Internet Explorer 8
now supports a "window.onhashchange" event. It should be detected and used
if available.

Why do you need this enhancement?
This event will drastically improve the performance of the History module
by making the listener timer obsolete.

Original issue reported on code.google.com by madBYK on 2 Nov 2009 at 6:27

GoogleCodeExporter commented 9 years ago
That means if browser is new, system will be faster but that will cost software
complexity.

Original comment by il...@e-kalite.com.tr on 2 Nov 2009 at 7:01

GoogleCodeExporter commented 9 years ago
Not necessarily. We'll still use the old algorithm for change detection, the 
only
difference would be that we will not check the changes for every xxx 
milliseconds,
instead we will be notified when it changes.

Original comment by madBYK on 2 Nov 2009 at 9:42

GoogleCodeExporter commented 9 years ago
This task is now completed and waiting to be commited.

Original comment by madBYK on 2 Nov 2009 at 8:39

GoogleCodeExporter commented 9 years ago

Original comment by madBYK on 8 Mar 2010 at 10:11