Every line of 'backbone history back' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
65 function forward(steps = 1) { 66 if (canGoForward(steps)) { 67 currentPosition += steps; 68 } else { 69 currentPosition = historyData.length - 1; 70 } 71 72 process.nextTick(notifyListeners); 73 return current(); 74 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
35 back() { 36 if (this.backStack.length < 2) return 37 let n = this.backStack.pop() 38 log('navigateBack', n) 39 this.fwdStack.push(n) 40 this.notify() 41 }
67 forward() { 68 this.go(1) 69 }
107 canGoBack() { 108 return this.canGo(-1); 109 }
61 back(){ 62 63 History.back(); 64 }
51 back() { 52 window.history.back() 53 }
100 back(): void { 101 this.platformStrategy.back(); 102 }
70 back () { 71 history.back() 72 }
113 back() { 114 history.goBack() 115 }
74 $forward(success: number) { 75 window.history.forward(); 76 this._rnctx.invokeCallback(success, [true]); 77 }