Fixed #64 and fixed sub view controllers and tabs

Moved tabs to be absolute not fixed so they can easily
be placed inside of containers
This commit is contained in:
Max Lynch
2013-11-08 18:09:48 -06:00
parent c73cc43c21
commit 6ab1f49688
14 changed files with 145 additions and 162 deletions

View File

@ -1,13 +1,12 @@
(function(ionic) {
'use strict';
ionic.views.HeaderBar = function(opts) {
this.el = opts.el;
ionic.views.HeaderBar = ionic.views.View.inherit({
initialize: function(opts) {
this.el = opts.el;
this._titleEl = this.el.querySelector('.title');
};
ionic.views.HeaderBar.prototype = {
this._titleEl = this.el.querySelector('.title');
},
resizeTitle: function() {
var e, j, i,
title,
@ -23,6 +22,6 @@
titleWidth = title.offsetWidth;
}
};
});
})(ionic);