fnp
/
fnpeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring
[fnpeditor.git]
/
views
/
tabs
/
tabs.js
diff --git
a/views/tabs/tabs.js
b/views/tabs/tabs.js
index
dcd3e96
..
c4d7697
100644
(file)
--- a/
views/tabs/tabs.js
+++ b/
views/tabs/tabs.js
@@
-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