Skip to content

Commit ff4827b

Browse files
committed
release: v1.2.2 "copenhagen"
1 parent 9b0f834 commit ff4827b

File tree

11 files changed

+1637
-34
lines changed

11 files changed

+1637
-34
lines changed

CHANGELOG.md

Lines changed: 1601 additions & 0 deletions
Large diffs are not rendered by default.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ionic",
33
"version": "1.2.2",
4-
"codename": "barcelona",
4+
"codename": "copenhagen",
55
"homepage": "https://github.com/driftyco/ionic",
66
"authors": [
77
"Max Lynch <[email protected]>",

config/CODENAMES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
copenhagen
1+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ionic-sdk",
33
"private": false,
4-
"version": "1.2.3",
4+
"version": "1.2.2",
55
"codename": "copenhagen",
66
"repository": {
77
"url": "git://github.com/driftyco/ionic.git"

release/js/ionic-angular.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,7 +1780,7 @@ IonicModule
17801780
},
17811781

17821782
scrolling: {
1783-
jsScrolling: false
1783+
jsScrolling: true
17841784
},
17851785

17861786
spinner: {
@@ -1839,8 +1839,11 @@ IonicModule
18391839
tabs: {
18401840
style: 'striped',
18411841
position: 'top'
1842-
}
1842+
},
18431843

1844+
scrolling: {
1845+
jsScrolling: false
1846+
}
18441847
});
18451848

18461849
// Windows Phone
@@ -10564,7 +10567,7 @@ IonicModule
1056410567
* ```
1056510568
*/
1056610569
IonicModule
10567-
.directive('ionLabel', ['$timeout', function($timeout) {
10570+
.directive('ionLabel', [function() {
1056810571
return {
1056910572
restrict: 'E',
1057010573
require: '?^ionInput',
@@ -10587,9 +10590,7 @@ IonicModule
1058710590
ionInputCtrl.setInputAriaLabeledBy(id);
1058810591

1058910592
$element.on('click', function() {
10590-
$timeout(function() {
10591-
ionInputCtrl.focus();
10592-
});
10593+
ionInputCtrl.focus();
1059310594
});
1059410595
}
1059510596
};

release/js/ionic-angular.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/js/ionic.bundle.js

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2975,7 +2975,7 @@ function tapMouseDown(e) {
29752975
if (e.isIonicTap || tapIgnoreEvent(e)) return null;
29762976

29772977
if (tapEnabledTouchEvents) {
2978-
void 0;
2978+
//console.log('mousedown', 'stop event');
29792979
e.stopPropagation();
29802980

29812981
if (!ionic.Platform.isEdge() && (!ionic.tap.isTextInput(e.target) || tapLastTouchTarget !== e.target) &&
@@ -3049,7 +3049,7 @@ function tapTouchStart(e) {
30493049
var textInput = tapTargetElement(tapContainingElement(e.target));
30503050
if (textInput !== tapActiveEle) {
30513051
// don't preventDefault on an already focused input or else iOS's text caret isn't usable
3052-
void 0;
3052+
//console.log('Would prevent default here');
30533053
e.preventDefault();
30543054
}
30553055
}
@@ -3124,7 +3124,7 @@ function tapHandleFocus(ele) {
31243124
// already is the active element and has focus
31253125
triggerFocusIn = true;
31263126

3127-
} else if ((/^(input|textarea)$/i).test(ele.tagName) || ele.isContentEditable) {
3127+
} else if ((/^(input|textarea|ion-label)$/i).test(ele.tagName) || ele.isContentEditable) {
31283128
triggerFocusIn = true;
31293129
ele.focus && ele.focus();
31303130
ele.value = ele.value;
@@ -3147,7 +3147,7 @@ function tapHandleFocus(ele) {
31473147
function tapFocusOutActive() {
31483148
var ele = tapActiveElement();
31493149
if (ele && ((/^(input|textarea|select)$/i).test(ele.tagName) || ele.isContentEditable)) {
3150-
void 0;
3150+
//console.log('tapFocusOutActive', ele.tagName);
31513151
ele.blur();
31523152
}
31533153
tapActiveElement(null);
@@ -3168,7 +3168,7 @@ function tapFocusIn(e) {
31683168
// 2) There is an active element which is a text input
31693169
// 3) A text input was just set to be focused on by a touch event
31703170
// 4) A new focus has been set, however the target isn't the one the touch event wanted
3171-
void 0;
3171+
//console.log('focusin', 'tapTouchFocusedInput');
31723172
tapTouchFocusedInput.focus();
31733173
tapTouchFocusedInput = null;
31743174
}
@@ -52122,7 +52122,7 @@ IonicModule
5212252122
},
5212352123

5212452124
scrolling: {
52125-
jsScrolling: false
52125+
jsScrolling: true
5212652126
},
5212752127

5212852128
spinner: {
@@ -52181,8 +52181,11 @@ IonicModule
5218152181
tabs: {
5218252182
style: 'striped',
5218352183
position: 'top'
52184-
}
52184+
},
5218552185

52186+
scrolling: {
52187+
jsScrolling: false
52188+
}
5218652189
});
5218752190

5218852191
// Windows Phone
@@ -60906,7 +60909,7 @@ IonicModule
6090660909
* ```
6090760910
*/
6090860911
IonicModule
60909-
.directive('ionLabel', ['$timeout', function($timeout) {
60912+
.directive('ionLabel', [function() {
6091060913
return {
6091160914
restrict: 'E',
6091260915
require: '?^ionInput',
@@ -60929,9 +60932,7 @@ IonicModule
6092960932
ionInputCtrl.setInputAriaLabeledBy(id);
6093060933

6093160934
$element.on('click', function() {
60932-
$timeout(function() {
60933-
ionInputCtrl.focus();
60934-
});
60935+
ionInputCtrl.focus();
6093560936
});
6093660937
}
6093760938
};

release/js/ionic.bundle.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/js/ionic.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2968,7 +2968,7 @@ function tapMouseDown(e) {
29682968
if (e.isIonicTap || tapIgnoreEvent(e)) return null;
29692969

29702970
if (tapEnabledTouchEvents) {
2971-
void 0;
2971+
//console.log('mousedown', 'stop event');
29722972
e.stopPropagation();
29732973

29742974
if (!ionic.Platform.isEdge() && (!ionic.tap.isTextInput(e.target) || tapLastTouchTarget !== e.target) &&
@@ -3042,7 +3042,7 @@ function tapTouchStart(e) {
30423042
var textInput = tapTargetElement(tapContainingElement(e.target));
30433043
if (textInput !== tapActiveEle) {
30443044
// don't preventDefault on an already focused input or else iOS's text caret isn't usable
3045-
void 0;
3045+
//console.log('Would prevent default here');
30463046
e.preventDefault();
30473047
}
30483048
}
@@ -3117,7 +3117,7 @@ function tapHandleFocus(ele) {
31173117
// already is the active element and has focus
31183118
triggerFocusIn = true;
31193119

3120-
} else if ((/^(input|textarea)$/i).test(ele.tagName) || ele.isContentEditable) {
3120+
} else if ((/^(input|textarea|ion-label)$/i).test(ele.tagName) || ele.isContentEditable) {
31213121
triggerFocusIn = true;
31223122
ele.focus && ele.focus();
31233123
ele.value = ele.value;
@@ -3140,7 +3140,7 @@ function tapHandleFocus(ele) {
31403140
function tapFocusOutActive() {
31413141
var ele = tapActiveElement();
31423142
if (ele && ((/^(input|textarea|select)$/i).test(ele.tagName) || ele.isContentEditable)) {
3143-
void 0;
3143+
//console.log('tapFocusOutActive', ele.tagName);
31443144
ele.blur();
31453145
}
31463146
tapActiveElement(null);
@@ -3161,7 +3161,7 @@ function tapFocusIn(e) {
31613161
// 2) There is an active element which is a text input
31623162
// 3) A text input was just set to be focused on by a touch event
31633163
// 4) A new focus has been set, however the target isn't the one the touch event wanted
3164-
void 0;
3164+
//console.log('focusin', 'tapTouchFocusedInput');
31653165
tapTouchFocusedInput.focus();
31663166
tapTouchFocusedInput = null;
31673167
}

release/js/ionic.min.js

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

0 commit comments

Comments
 (0)