MCPcopy Index your code
hub / github.com/tmcw/big / parseHash

Function parseHash

lib/big.js:133–135  ·  view source on GitHub ↗

* Parse the current window's hash, returning a number for a * slide. * @returns {number} slide number

()

Source from the content-addressed store, hash-verified

131 * @returns {number} slide number
132 */
133 function parseHash() {
134 return parseInt(window.location.hash.substring(1), 10);
135 }
136
137 /**
138 * Just save some typing when we refer to document.createElement

Callers 2

big.jsFile · 0.85
onHashChangeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected