diff --git a/hacking/NavAngular.unit.js b/hacking/NavAngular.unit.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hacking/TabBarController.unit.js b/hacking/TabBarController.unit.js index e844344019..296a44ab54 100644 --- a/hacking/TabBarController.unit.js +++ b/hacking/TabBarController.unit.js @@ -4,11 +4,18 @@ describe('TabBarController', function() { beforeEach(function() { var tabEl = $('
'); ctrl = new TabBarController({ - tabBar: new TabBar({ el: tabEl.get(0) }) + tabBar: new TabBar({ + el: tabEl.get(0), + itemAdded: function(item) { + }, + itemRemoved: function(item) { + } + }) }); }) it('Should add Controllers', function() { + debugger; ctrl.addController({ title: 'Item 1', icon: 'icon-home', diff --git a/hacking/TabsAngular.unit.js b/hacking/TabsAngular.unit.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/hacking/nav.html b/hacking/nav.html index a3dd32736d..2825c5a656 100644 --- a/hacking/nav.html +++ b/hacking/nav.html @@ -27,26 +27,38 @@