- Click on the Terminal button in SourceTree
- Run
cd T:\BuildASignin the Terminal - Paste the script below into the Terminal and hit Enter
for f in */.git| angular.module('dinnerDecisionApp') | |
| .factory("stateService", ['$q', "$window", "$location", "cordova", function ($q, $window, $location, cordova) { | |
| var localStorageKey = "dinnerDecisionAppState"; | |
| cordova.ready.then(function () { | |
| document.addEventListener('pause', function () { | |
| alert("pausing in service " + $location.path()); | |
| saveToStorage({lastUrl: $location.path()}) | |
| }, false); |