balupton/history.js — comment on commit 40009f64c039da63b58e19e592eaad30db6d329e
File:  line 0
By pavel-power:

Error if not using the .

error: typeof iframe.contentWindow == 'unknow'

You can fix if do it:

...
History.hashChangeInit = function(){
...
+ var contentWindow = iframe.contentWindow;
...
History.checkerFunction = function(){
...
- iframeHash = History.unescapeHash(iframe.contentWindow.document.location.hash)||'';
+ iframeHash = History.unescapeHash(contentWindow.document.location.hash)||'';
...
}
...