Skip to content

Commit 11d2158

Browse files
committed
release: v1.3.2 "france"
1 parent 256a0f8 commit 11d2158

File tree

13 files changed

+548
-56003
lines changed

13 files changed

+548
-56003
lines changed

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ionic",
3-
"version": "1.3.1",
4-
"codename": "el salvador",
3+
"version": "1.3.2",
4+
"codename": "france",
55
"homepage": "https://github.com/driftyco/ionic",
66
"authors": [
77
"Max Lynch <[email protected]>",

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"repo": "driftyco/ionic",
33
"development": {},
4-
"version": "1.3.1",
4+
"version": "1.3.2",
55
"styles": [
66
"dist/css/ionic.css"
77
],

config/CODENAMES

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
france
21
germany
32
hong kong
43
israel

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "ionic-sdk",
33
"private": false,
44
"version": "1.3.2",
5-
"codename": "el salvador",
5+
"codename": "france",
66
"repository": {
77
"url": "git://github.com/driftyco/ionic.git"
88
},

release/css/ionic.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright 2015 Drifty Co.
44
* http://drifty.com/
55
*
6-
* Ionic, v1.3.1
6+
* Ionic, v1.3.2
77
* A powerful HTML5 mobile app framework.
88
* http://ionicframework.com/
99
*

release/css/ionic.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/js/ionic-angular.js

Lines changed: 33 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2015 Drifty Co.
33
* http://drifty.com/
44
*
5-
* Ionic, v1.3.1
5+
* Ionic, v1.3.2
66
* A powerful HTML5 mobile app framework.
77
* http://ionicframework.com/
88
*
@@ -2204,7 +2204,8 @@ var LOADING_TPL =
22042204
* .controller('LoadingCtrl', function($scope, $ionicLoading) {
22052205
* $scope.show = function() {
22062206
* $ionicLoading.show({
2207-
* template: 'Loading...'
2207+
* template: 'Loading...',
2208+
* duration: 3000
22082209
* }).then(function(){
22092210
* console.log("The loading indicator is now displayed");
22102211
* });
@@ -2659,7 +2660,9 @@ function($rootScope, $ionicBody, $compile, $timeout, $ionicPlatform, $ionicTempl
26592660
}
26602661

26612662
return $timeout(function() {
2662-
$ionicBody.removeClass(self.viewType + '-open');
2663+
if (!modalStack.length) {
2664+
$ionicBody.removeClass(self.viewType + '-open');
2665+
}
26632666
self.el.classList.add('hide');
26642667
}, self.hideDelay || 320);
26652668
},
@@ -3014,8 +3017,8 @@ IonicModule
30143017
* @description
30153018
* Add Cordova event listeners, such as `pause`, `resume`, `volumedownbutton`, `batterylow`,
30163019
* `offline`, etc. More information about available event types can be found in
3017-
* [Cordova's event documentation](https://cordova.apache.org/docs/en/edge/cordova_events_events.md.html#Events).
3018-
* @param {string} type Cordova [event type](https://cordova.apache.org/docs/en/edge/cordova_events_events.md.html#Events).
3020+
* [Cordova's event documentation](https://cordova.apache.org/docs/en/latest/cordova/events/events.html).
3021+
* @param {string} type Cordova [event type](https://cordova.apache.org/docs/en/latest/cordova/events/events.html).
30193022
* @param {function} callback Called when the Cordova event is fired.
30203023
* @returns {function} Returns a deregistration function to remove the event listener.
30213024
*/
@@ -3126,7 +3129,7 @@ IonicModule
31263129
* $scope.$on('$destroy', function() {
31273130
* $scope.popover.remove();
31283131
* });
3129-
* // Execute action on hide popover
3132+
* // Execute action on hidden popover
31303133
* $scope.$on('popover.hidden', function() {
31313134
* // Execute action
31323135
* });
@@ -7769,20 +7772,15 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody, $io
77697772

77707773
self.content.setTranslateX(amount);
77717774

7772-
if (amount >= 0) {
7773-
leftShowing = true;
7774-
rightShowing = false;
7775+
leftShowing = amount > 0;
7776+
rightShowing = amount < 0;
77757777

7776-
if (amount > 0) {
7777-
// Push the z-index of the right menu down
7778-
self.right && self.right.pushDown && self.right.pushDown();
7779-
// Bring the z-index of the left menu up
7780-
self.left && self.left.bringUp && self.left.bringUp();
7781-
}
7778+
if (amount > 0) {
7779+
// Push the z-index of the right menu down
7780+
self.right && self.right.pushDown && self.right.pushDown();
7781+
// Bring the z-index of the left menu up
7782+
self.left && self.left.bringUp && self.left.bringUp();
77827783
} else {
7783-
rightShowing = true;
7784-
leftShowing = false;
7785-
77867784
// Bring the z-index of the right menu up
77877785
self.right && self.right.bringUp && self.right.bringUp();
77887786
// Push the z-index of the left menu down
@@ -11780,7 +11778,6 @@ IonicModule
1178011778
* @param {boolean=} no-tap-scroll By default, the navbar will scroll the content
1178111779
* to the top when tapped. Set no-tap-scroll to true to disable this behavior.
1178211780
*
11783-
* </table><br/>
1178411781
*/
1178511782
IonicModule
1178611783
.directive('ionNavBar', function() {
@@ -12499,7 +12496,9 @@ IonicModule
1249912496

1250012497
$scope.$on('scroll.refreshComplete', function() {
1250112498
$scope.$evalAsync(function() {
12502-
scrollCtrl.scrollView.finishPullToRefresh();
12499+
if(scrollCtrl.scrollView){
12500+
scrollCtrl.scrollView.finishPullToRefresh();
12501+
}
1250312502
});
1250412503
});
1250512504
}
@@ -12541,6 +12540,7 @@ IonicModule
1254112540
* @param {boolean=} paging Whether to scroll with paging.
1254212541
* @param {expression=} on-refresh Called on pull-to-refresh, triggered by an {@link ionic.directive:ionRefresher}.
1254312542
* @param {expression=} on-scroll Called whenever the user scrolls.
12543+
* @param {expression=} on-scroll-complete Called whenever the scrolling paging is completed.
1254412544
* @param {boolean=} scrollbar-x Whether to show the horizontal scrollbar. Default true.
1254512545
* @param {boolean=} scrollbar-y Whether to show the vertical scrollbar. Default true.
1254612546
* @param {boolean=} zooming Whether to support pinch-to-zoom
@@ -12576,6 +12576,7 @@ function($timeout, $controller, $ionicBind, $ionicConfig) {
1257612576
direction: '@',
1257712577
paging: '@',
1257812578
$onScroll: '&onScroll',
12579+
$onScrollComplete: '&onScrollComplete',
1257912580
scroll: '@',
1258012581
scrollbarX: '@',
1258112582
scrollbarY: '@',
@@ -12617,18 +12618,26 @@ function($timeout, $controller, $ionicBind, $ionicConfig) {
1261712618
maxZoom: $scope.$eval($scope.maxZoom) || 3,
1261812619
minZoom: $scope.$eval($scope.minZoom) || 0.5,
1261912620
preventDefault: true,
12620-
nativeScrolling: nativeScrolling
12621+
nativeScrolling: nativeScrolling,
12622+
scrollingComplete: onScrollComplete
1262112623
};
1262212624

1262312625
if (isPaging) {
1262412626
scrollViewOptions.speedMultiplier = 0.8;
1262512627
scrollViewOptions.bouncing = false;
1262612628
}
1262712629

12628-
$controller('$ionicScroll', {
12630+
var scrollCtrl = $controller('$ionicScroll', {
1262912631
$scope: $scope,
1263012632
scrollViewOptions: scrollViewOptions
1263112633
});
12634+
12635+
function onScrollComplete() {
12636+
$scope.$onScrollComplete && $scope.$onScrollComplete({
12637+
scrollTop: scrollCtrl.scrollView.__scrollTop,
12638+
scrollLeft: scrollCtrl.scrollView.__scrollLeft
12639+
});
12640+
}
1263212641
}
1263312642
}
1263412643
};
@@ -13332,8 +13341,8 @@ function($animate, $timeout, $compile, $ionicSlideBoxDelegate, $ionicHistory, $i
1333213341
*
1333313342
* $scope.$on("$ionicSlides.slideChangeEnd", function(event, data){
1333413343
* // note: the indexes are 0-based
13335-
* $scope.activeIndex = data.activeIndex;
13336-
* $scope.previousIndex = data.previousIndex;
13344+
* $scope.activeIndex = data.slider.activeIndex;
13345+
* $scope.previousIndex = data.slider.previousIndex;
1333713346
* });
1333813347
*
1333913348
* ```

0 commit comments

Comments
 (0)