Styling documentCanvas - scrollbar and dimension
[fnpeditor.git] / views / tabs / tabs.js
index dcd3e96..c4d7697 100644 (file)
@@ -31,6 +31,7 @@ define([
             if(this.options.stacked) {\r
                 this.nodes.tabBar.addClass('nav-stacked nav-pills');\r
             }\r
             if(this.options.stacked) {\r
                 this.nodes.tabBar.addClass('nav-stacked nav-pills');\r
             }\r
+            return this;\r
         },\r
         \r
         addTab: function(title, slug, content) {\r
         },\r
         \r
         addTab: function(title, slug, content) {\r
@@ -61,6 +62,10 @@ define([
             }\r
         },\r
         \r
             }\r
         },\r
         \r
+        getAsView: function() {\r
+            return this.$el;\r
+        },\r
+        \r
         /* Events */\r
         \r
         _onTabTitleClicked: function(e) {\r
         /* Events */\r
         \r
         _onTabTitleClicked: function(e) {\r