()
| 291 | } |
| 292 | |
| 293 | function handleBackButton() { |
| 294 | //The "current" page is always at the top of the history stack. |
| 295 | var current = backStack.pop(); |
| 296 | if (!current) { return; } |
| 297 | var last = backStack[backStack.length - 1]; |
| 298 | if (!last && backStack.length == 0){ |
| 299 | last = initialState; |
| 300 | } |
| 301 | forwardStack.push(current); |
| 302 | } |
| 303 | |
| 304 | function handleForwardButton() { |
| 305 | //summary: private method. Do not call this directly. |
no outgoing calls
no test coverage detected
searching dependent graphs…