pandora/static/js/pandora/sectionbar.js

18 lines
418 B
JavaScript
Raw Normal View History

2011-07-29 18:37:11 +00:00
// vim: et:ts=4:sw=4:sts=4:ft=javascript
2011-11-05 17:04:10 +00:00
'use strict';
2011-05-25 19:42:45 +00:00
pandora.ui.sectionbar = function(mode) {
2011-06-19 17:49:25 +00:00
var that = Ox.Bar({
2011-05-25 19:42:45 +00:00
size: 24
})
.append(
2011-12-22 07:24:30 +00:00
mode == 'buttons'
? pandora.$ui.sectionButtons = pandora.ui.sectionButtons()
: pandora.$ui.sectionSelect = pandora.ui.sectionSelect()
2011-05-25 19:42:45 +00:00
);
that.toggle = function() {
};
return that;
};