()
| 5654 | } |
| 5655 | |
| 5656 | function getCurrentState() { |
| 5657 | try { |
| 5658 | return history.state; |
| 5659 | } catch (e) { |
| 5660 | // MSIE can reportedly throw when there is no state (UNCONFIRMED). |
| 5661 | } |
| 5662 | } |
| 5663 | |
| 5664 | // This variable should be used *only* inside the cacheState function. |
| 5665 | var lastCachedState = null; |