From 3f03a0854aa582192c55e19ddab1e6ff2d808d14 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 25 Jul 2013 21:07:57 -0700 Subject: [PATCH] Removed airdate cell (merge conflict) --- UI/Cells/AirDateCell.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 UI/Cells/AirDateCell.js diff --git a/UI/Cells/AirDateCell.js b/UI/Cells/AirDateCell.js deleted file mode 100644 index 568646523..000000000 --- a/UI/Cells/AirDateCell.js +++ /dev/null @@ -1,26 +0,0 @@ -'use strict'; -define( - [ - 'backgrid', - 'moment', - 'Shared/FormatHelpers' - ], function (Backgrid, Moment, FormatHelpers) { - return Backgrid.Cell.extend({ - className: 'air-date-cell', - - render: function () { - - this.$el.empty(); - var date = this.model.get(this.column.get('name')); - - if (date) { - this.$el.html(FormatHelpers.DateHelper(date)); - - this.$el.attr('title', Moment(date).format('LLLL')); - } - - return this; - - } - }); - });