HeaderCell is a standard mixin

This commit is contained in:
Mark McDowall
2015-02-03 00:01:05 -08:00
parent 85f6d90f40
commit aa9df49ea2
3 changed files with 7 additions and 9 deletions
+5 -1
View File
@@ -1,4 +1,6 @@
module.exports.register = function(backgrid) {
module.exports = function() {
var backgrid = this;
backgrid.SonarrHeaderCell = backgrid.HeaderCell.extend({
events : {
'click' : 'onClick'
@@ -109,4 +111,6 @@ module.exports.register = function(backgrid) {
this.$el.children('i').removeClass('icon-sort-up icon-sort-down');
}
});
return backgrid.SonarrHeaderCell;
};