Renames of variables

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-29 18:09:26 -03:00
commit 826ea930b1
3 changed files with 11 additions and 11 deletions

View file

@ -31,8 +31,8 @@
<section <section
ng-class="{'main': index.hasProfile, 'main-dark': mainDark, 'animation-left': index.swipeLeft, ng-class="{'main': index.hasProfile, 'main-dark': mainDark, 'animation-left': index.slideLeft,
'animation-right': index.swipeRight}" 'animation-right': index.slideRight}"
ui-view="main"></section> ui-view="main"></section>
<div ui-view="menu" ng-if="!index.noFocusedWallet && !$root.hideMenuBar"></div> <div ui-view="menu" ng-if="!index.noFocusedWallet && !$root.hideMenuBar"></div>
<a class="close-menu" ng-click="index.closeMenu()"></a> <a class="close-menu" ng-click="index.closeMenu()"></a>

View file

@ -651,17 +651,17 @@ angular.module('copayApp.controllers').controller('indexController', function($r
$rootScope.$on('Animation/Disable', function(event) { $rootScope.$on('Animation/Disable', function(event) {
$timeout(function() { $timeout(function() {
self.swipeLeft = false; self.slideLeft = false;
self.swipeRight = false; self.slideRight = false;
}, 370); }, 370);
}); });
$rootScope.$on('Animation/SwipeLeft', function(event) { $rootScope.$on('Animation/SlideLeft', function(event) {
self.swipeLeft = true; self.slideLeft = true;
}); });
$rootScope.$on('Animation/SwipeRight', function(event) { $rootScope.$on('Animation/SlideRight', function(event) {
self.swipeRight = true; self.slideRight = true;
}); });

View file

@ -506,7 +506,7 @@ angular
receive: 0, receive: 0,
send: 0, send: 0,
history: 0, history: 0,
preferences: 0, preferences: 11,
preferencesColor: 12, preferencesColor: 12,
backup: 12, backup: 12,
preferencesAdvanced: 12, preferencesAdvanced: 12,
@ -531,9 +531,9 @@ angular
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) { $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
if (pageWeight[fromState.name] > pageWeight[toState.name]) { if (pageWeight[fromState.name] > pageWeight[toState.name]) {
$rootScope.$emit('Animation/SwipeRight'); $rootScope.$emit('Animation/SlideRight');
} else if (pageWeight[fromState.name] < pageWeight[toState.name]) { } else if (pageWeight[fromState.name] < pageWeight[toState.name]) {
$rootScope.$emit('Animation/SwipeLeft'); $rootScope.$emit('Animation/SlideLeft');
} }
if (!profileService.profile && toState.needProfile) { if (!profileService.profile && toState.needProfile) {