()
| 282 | } |
| 283 | |
| 284 | function handleBackButton() { |
| 285 | //The "current" page is always at the top of the history stack. |
| 286 | var current = backStack.pop(); |
| 287 | if (!current) { return; } |
| 288 | var last = backStack[backStack.length - 1]; |
| 289 | if (!last && backStack.length == 0){ |
| 290 | last = initialState; |
| 291 | } |
| 292 | forwardStack.push(current); |
| 293 | } |
| 294 | |
| 295 | function handleForwardButton() { |
| 296 | //summary: private method. Do not call this directly. |
no outgoing calls
no test coverage detected
searching dependent graphs…