mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
style(): main angular references
This commit is contained in:
4
js/angular/controller/sideMenuController.js
vendored
4
js/angular/controller/sideMenuController.js
vendored
@@ -348,7 +348,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody, $io
|
||||
self.edgeThresholdEnabled = false;
|
||||
self.edgeDragThreshold = function(value) {
|
||||
if (arguments.length) {
|
||||
if (angular.isNumber(value) && value > 0) {
|
||||
if (isNumber(value) && value > 0) {
|
||||
self.edgeThreshold = value;
|
||||
self.edgeThresholdEnabled = true;
|
||||
} else {
|
||||
@@ -386,7 +386,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody, $io
|
||||
|
||||
$scope.sideMenuContentTranslateX = 0;
|
||||
|
||||
var deregisterBackButtonAction = angular.noop;
|
||||
var deregisterBackButtonAction = noop;
|
||||
var closeSideMenu = angular.bind(self, self.close);
|
||||
|
||||
$scope.$watch(function() {
|
||||
|
||||
Reference in New Issue
Block a user