dist rebuild

This commit is contained in:
Adam Bradley
2014-01-13 12:01:36 -06:00
parent 7c1fed40ea
commit cafde83d0d
3 changed files with 9 additions and 8 deletions

View File

@@ -1209,16 +1209,17 @@ angular.module('ionic.ui.content', ['ionic.ui.service'])
if(attr.hasSubheader == "true") { element.addClass('has-subheader'); }
if(attr.hasFooter == "true") { element.addClass('has-footer'); }
if(attr.hasTabs == "true") { element.addClass('has-tabs'); }
if(attr.padding == "true") {
var scroll = element.find('.scroll');
if(scroll.length) {
scroll.addClass('padding');
}
}
return function link($scope, $element, $attr) {
var clone, sc, sv,
c = angular.element($element.children()[0]);
// if padding attribute is true, then add padding if it wasn't added to the .scroll
if($scope.$eval($scope.padding) === true) {
c.addClass('padding');
}
if($scope.scroll === "false") {
// No scrolling
return;

View File

File diff suppressed because one or more lines are too long

View File

File diff suppressed because one or more lines are too long