Skip to content

Commit 4d3e223

Browse files
committed
release: v1.0.0-beta.8 "einsteinium-emu"
1 parent 2d587a8 commit 4d3e223

16 files changed

+611
-84
lines changed

CHANGELOG.md

+19
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
### 1.0.0-beta.8 "einsteinium-emu" (2014-06-16)
2+
3+
4+
#### Bug Fixes
5+
6+
* **cancelAnimationFrame:** polyfill in ionic.DomUtil ([a0577346](https://github.com/driftyco/ionic/commit/a057734631ccdb2d81ec3e67c3172a87445102c5))
7+
* **content:** scroll=false in sidemenu hides content ([53c17104](https://github.com/driftyco/ionic/commit/53c171043eca5ca360a0db6c2ec9f8de118c061a), closes [#1485](https://github.com/driftyco/ionic/issues/1485))
8+
* **css:** reset FirefoxOS default gradients ([5f1ea5f6](https://github.com/driftyco/ionic/commit/5f1ea5f6326d9851dbddbee7fde164fe6c456427), closes [#1426](https://github.com/driftyco/ionic/issues/1426))
9+
* **headerBarView:** check for null in getTextBounds ([be351ce1](https://github.com/driftyco/ionic/commit/be351ce1face2c69c68a4eda2418e57998b3e3fa), closes [#1377](https://github.com/driftyco/ionic/issues/1377))
10+
* **tap:** error when releasing outside of browser ([8da9f34b](https://github.com/driftyco/ionic/commit/8da9f34ba27a16c629e9373e8d4120adb52a09de), closes [#1612](https://github.com/driftyco/ionic/issues/1612))
11+
12+
13+
#### Features
14+
15+
* **ionicons:**
16+
* v1.5.2 upgrade w/ :before pseudo ([17ee672f](https://github.com/driftyco/ionic/commit/17ee672fa3d967bdbd449157951d5fe0441ee66e))
17+
* upgrade to Ionicons v1.5.1 ([191428a4](https://github.com/driftyco/ionic/commit/191428a49541307a6e54f9bca60b992638460623))
18+
19+
120
<a name="1.0.0-beta.7"></a>
221
### 1.0.0-beta.7 "einsteinium-emu" (2014-06-12)
322

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic",
3-
"version": "1.0.0-beta.7",
3+
"version": "1.0.0-beta.8",
44
"codename": "einsteinium-emu",
55
"homepage": "https://github.com/driftyco/ionic",
66
"authors": [

component.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"repo": "driftyco/ionic",
33
"development": {},
4-
"version": "1.0.0-beta.7",
4+
"version": "1.0.0-beta.8",
55
"styles": [
66
"dist/css/ionic.css"
77
],

release/css/ionic.css

+240-6
Large diffs are not rendered by default.

release/css/ionic.min.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/fonts/ionicons.eot

15.4 KB
Binary file not shown.

release/fonts/ionicons.svg

+298-22
Loading

release/fonts/ionicons.ttf

24.3 KB
Binary file not shown.

release/fonts/ionicons.woff

8.69 KB
Binary file not shown.

release/js/ionic-angular.js

+7-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2014 Drifty Co.
33
* http://drifty.com/
44
*
5-
* Ionic, v1.0.0-beta.7
5+
* Ionic, v1.0.0-beta.8
66
* A powerful HTML5 mobile app framework.
77
* http://ionicframework.com/
88
*
@@ -91,10 +91,10 @@ var IonicModule = angular.module('ionic', ['ngAnimate', 'ngSanitize', 'ui.router
9191
* $scope.show = function() {
9292
*
9393
* // Show the action sheet
94-
* var hideSheet = $ionicActionSheet({
94+
* var hideSheet = $ionicActionSheet.show({
9595
* buttons: [
9696
* { text: '<b>Share</b> This' },
97-
* { text: 'Move' },
97+
* { text: 'Move' }
9898
* ],
9999
* destructiveText: 'Delete',
100100
* titleText: 'Modify your album',
@@ -4626,6 +4626,8 @@ function($timeout, $controller, $ionicBind) {
46264626
innerElement = jqLite('<div class="scroll"></div>');
46274627
innerElement.append(element.contents());
46284628
element.append(innerElement);
4629+
} else {
4630+
element.addClass('scroll-content-false');
46294631
}
46304632

46314633
return { pre: prelink };
@@ -5419,11 +5421,9 @@ IonicModule
54195421
if ( !input || !inputLabel ) return;
54205422

54215423
var onInput = function() {
5422-
var hasInput = inputLabel.classList.contains('has-input');
5423-
if ( input.value && !hasInput ) {
5424+
if ( input.value ) {
54245425
inputLabel.classList.add('has-input');
5425-
}
5426-
else if ( !input.value && hasInput ) {
5426+
} else {
54275427
inputLabel.classList.remove('has-input');
54285428
}
54295429
};
@@ -5434,8 +5434,6 @@ IonicModule
54345434
if ( ngModelCtrl ) {
54355435
ngModelCtrl.$render = function() {
54365436
input.value = ngModelCtrl.$viewValue || '';
5437-
if ( ngModelCtrl.$viewValue ) input.value = ngModelCtrl.$viewValue;
5438-
else input.value = '';
54395437
onInput();
54405438
};
54415439
}

release/js/ionic-angular.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/js/ionic.bundle.js

+17-18
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* Copyright 2014 Drifty Co.
1010
* http://drifty.com/
1111
*
12-
* Ionic, v1.0.0-beta.7
12+
* Ionic, v1.0.0-beta.8
1313
* A powerful HTML5 mobile app framework.
1414
* http://ionicframework.com/
1515
*
@@ -26,7 +26,7 @@
2626
window.ionic = {
2727
controllers: {},
2828
views: {},
29-
version: '1.0.0-beta.7'
29+
version: '1.0.0-beta.8'
3030
};
3131

3232
(function(ionic) {
@@ -176,9 +176,6 @@ window.ionic = {
176176
window.mozCancelAnimationFrame ||
177177
window.webkitCancelRequestAnimationFrame;
178178

179-
window.requestAnimationFrame = window._rAF;
180-
window.cancelAnimationFrame = cancelAnimationFrame;
181-
182179
/**
183180
* @ngdoc utility
184181
* @name ionic.DomUtil
@@ -195,10 +192,11 @@ window.ionic = {
195192
* happens.
196193
*/
197194
requestAnimationFrame: function(cb) {
198-
window._rAF(cb);
195+
return window._rAF(cb);
199196
},
200197

201-
cancelAnimationFrame: function(cb) {
198+
cancelAnimationFrame: function(requestId) {
199+
cancelAnimationFrame(requestId);
202200
},
203201

204202
/**
@@ -2947,7 +2945,7 @@ function tapActiveElement(ele) {
29472945
}
29482946

29492947
function tapHasPointerMoved(endEvent) {
2950-
if(!endEvent || !tapPointerStart || ( tapPointerStart.x === 0 && tapPointerStart.y === 0 )) {
2948+
if(!endEvent || endEvent.target.nodeType !== 1 || !tapPointerStart || ( tapPointerStart.x === 0 && tapPointerStart.y === 0 )) {
29512949
return false;
29522950
}
29532951
var endCoordinates = getPointerCoordinates(endEvent);
@@ -6112,7 +6110,10 @@ ionic.scroll = {
61126110

61136111
childSize = null;
61146112
if(c.nodeType == 3) {
6115-
childSize = ionic.DomUtil.getTextBounds(c).width;
6113+
var bounds = ionic.DomUtil.getTextBounds(c);
6114+
if(bounds) {
6115+
childSize = bounds.width;
6116+
}
61166117
} else if(c.nodeType == 1) {
61176118
childSize = c.offsetWidth;
61186119
}
@@ -36183,7 +36184,7 @@ angular.module('ui.router.compat')
3618336184
* Copyright 2014 Drifty Co.
3618436185
* http://drifty.com/
3618536186
*
36186-
* Ionic, v1.0.0-beta.7
36187+
* Ionic, v1.0.0-beta.8
3618736188
* A powerful HTML5 mobile app framework.
3618836189
* http://ionicframework.com/
3618936190
*
@@ -36272,10 +36273,10 @@ var IonicModule = angular.module('ionic', ['ngAnimate', 'ngSanitize', 'ui.router
3627236273
* $scope.show = function() {
3627336274
*
3627436275
* // Show the action sheet
36275-
* var hideSheet = $ionicActionSheet({
36276+
* var hideSheet = $ionicActionSheet.show({
3627636277
* buttons: [
3627736278
* { text: '<b>Share</b> This' },
36278-
* { text: 'Move' },
36279+
* { text: 'Move' }
3627936280
* ],
3628036281
* destructiveText: 'Delete',
3628136282
* titleText: 'Modify your album',
@@ -40807,6 +40808,8 @@ function($timeout, $controller, $ionicBind) {
4080740808
innerElement = jqLite('<div class="scroll"></div>');
4080840809
innerElement.append(element.contents());
4080940810
element.append(innerElement);
40811+
} else {
40812+
element.addClass('scroll-content-false');
4081040813
}
4081140814

4081240815
return { pre: prelink };
@@ -41600,11 +41603,9 @@ IonicModule
4160041603
if ( !input || !inputLabel ) return;
4160141604

4160241605
var onInput = function() {
41603-
var hasInput = inputLabel.classList.contains('has-input');
41604-
if ( input.value && !hasInput ) {
41606+
if ( input.value ) {
4160541607
inputLabel.classList.add('has-input');
41606-
}
41607-
else if ( !input.value && hasInput ) {
41608+
} else {
4160841609
inputLabel.classList.remove('has-input');
4160941610
}
4161041611
};
@@ -41615,8 +41616,6 @@ IonicModule
4161541616
if ( ngModelCtrl ) {
4161641617
ngModelCtrl.$render = function() {
4161741618
input.value = ngModelCtrl.$viewValue || '';
41618-
if ( ngModelCtrl.$viewValue ) input.value = ngModelCtrl.$viewValue;
41619-
else input.value = '';
4162041619
onInput();
4162141620
};
4162241621
}

release/js/ionic.bundle.min.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/js/ionic.js

+10-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Copyright 2014 Drifty Co.
33
* http://drifty.com/
44
*
5-
* Ionic, v1.0.0-beta.7
5+
* Ionic, v1.0.0-beta.8
66
* A powerful HTML5 mobile app framework.
77
* http://ionicframework.com/
88
*
@@ -19,7 +19,7 @@
1919
window.ionic = {
2020
controllers: {},
2121
views: {},
22-
version: '1.0.0-beta.7'
22+
version: '1.0.0-beta.8'
2323
};
2424

2525
(function(ionic) {
@@ -169,9 +169,6 @@ window.ionic = {
169169
window.mozCancelAnimationFrame ||
170170
window.webkitCancelRequestAnimationFrame;
171171

172-
window.requestAnimationFrame = window._rAF;
173-
window.cancelAnimationFrame = cancelAnimationFrame;
174-
175172
/**
176173
* @ngdoc utility
177174
* @name ionic.DomUtil
@@ -188,10 +185,11 @@ window.ionic = {
188185
* happens.
189186
*/
190187
requestAnimationFrame: function(cb) {
191-
window._rAF(cb);
188+
return window._rAF(cb);
192189
},
193190

194-
cancelAnimationFrame: function(cb) {
191+
cancelAnimationFrame: function(requestId) {
192+
cancelAnimationFrame(requestId);
195193
},
196194

197195
/**
@@ -2940,7 +2938,7 @@ function tapActiveElement(ele) {
29402938
}
29412939

29422940
function tapHasPointerMoved(endEvent) {
2943-
if(!endEvent || !tapPointerStart || ( tapPointerStart.x === 0 && tapPointerStart.y === 0 )) {
2941+
if(!endEvent || endEvent.target.nodeType !== 1 || !tapPointerStart || ( tapPointerStart.x === 0 && tapPointerStart.y === 0 )) {
29442942
return false;
29452943
}
29462944
var endCoordinates = getPointerCoordinates(endEvent);
@@ -6105,7 +6103,10 @@ ionic.scroll = {
61056103

61066104
childSize = null;
61076105
if(c.nodeType == 3) {
6108-
childSize = ionic.DomUtil.getTextBounds(c).width;
6106+
var bounds = ionic.DomUtil.getTextBounds(c);
6107+
if(bounds) {
6108+
childSize = bounds.width;
6109+
}
61096110
} else if(c.nodeType == 1) {
61106111
childSize = c.offsetWidth;
61116112
}

release/js/ionic.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

release/version.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "1.0.0-beta.7",
2+
"version": "1.0.0-beta.8",
33
"codename": "einsteinium-emu",
4-
"date": "2014-06-12",
5-
"time": "21:55:02"
4+
"date": "2014-06-16",
5+
"time": "20:39:30"
66
}

0 commit comments

Comments
 (0)