This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: 2f84b834f37ccead3baaf8e707afbe5dcd498b77 | |
Last commit: 52 minutes ago | |
HOMEBREW_PREFIX: /usr/local | |
HOMEBREW_CELLAR: /usr/local/Cellar | |
CPU: quad-core 64-bit sandybridge | |
OS X: 10.10-x86_64 | |
Xcode: 6.1 | |
CLT: 6.1.0.0.1.1413057044 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$scope.detachLocationChangeListener = $scope.$on('$locationChangeStart', function (event, next, current) { | |
event.preventDefault(); //prevent the navigation | |
$scope.showSaveChangesDialog = true; //dialog control | |
$scope.nextRoute = $location.url(next).hash(); //grab requested location | |
}); | |
$scope.confirmSaveChanges = function (answer) { | |
if (answer == true) { | |
alert("clicked yes, save changes"); | |
} |