MCPcopy
hub / github.com/angular-ui/ui-router / getCurrentState

Function getCurrentState

test/angular/1.3/angular.js:5127–5133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5125 }
5126
5127 function getCurrentState() {
5128 try {
5129 return history.state;
5130 } catch (e) {
5131 // MSIE can reportedly throw when there is no state (UNCONFIRMED).
5132 }
5133 }
5134
5135 // This variable should be used *only* inside the cacheState function.
5136 var lastCachedState = null;

Callers 1

cacheStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected