()
| 5951 | } |
| 5952 | |
| 5953 | function getCurrentState() { |
| 5954 | try { |
| 5955 | return history.state; |
| 5956 | } catch (e) { |
| 5957 | // MSIE can reportedly throw when there is no state (UNCONFIRMED). |
| 5958 | } |
| 5959 | } |
| 5960 | |
| 5961 | // This variable should be used *only* inside the cacheState function. |
| 5962 | var lastCachedState = null; |