mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
TODO for hackish behavior
This commit is contained in:
@ -18,8 +18,10 @@ angular.module('ionic.ui', [])
|
|||||||
|
|
||||||
angular.extend(this, TabBarController.prototype);
|
angular.extend(this, TabBarController.prototype);
|
||||||
|
|
||||||
|
// TODO: This dom thing is a temporary hack
|
||||||
var tab = document.createElement('div');
|
var tab = document.createElement('div');
|
||||||
tab.className = 'tabs';
|
tab.className = 'tabs';
|
||||||
|
|
||||||
TabBarController.call(this, {
|
TabBarController.call(this, {
|
||||||
tabBar: new TabBar({el: tab})
|
tabBar: new TabBar({el: tab})
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user