MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / getCurrentState

Function getCurrentState

web/static/bower_components/angular/angular.js:5656–5662  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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;

Callers 1

cacheStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected