From 03520f6b2e4c5fd67faa935fd261668a633e610f Mon Sep 17 00:00:00 2001 From: rlx <0x0073@0x2620.org> Date: Wed, 19 Sep 2012 06:34:57 +0000 Subject: [PATCH] remove unused CalendarDate.js --- source/Ox.UI/js/Calendar/CalendarDate.js | 35 ------------------------ 1 file changed, 35 deletions(-) delete mode 100644 source/Ox.UI/js/Calendar/CalendarDate.js diff --git a/source/Ox.UI/js/Calendar/CalendarDate.js b/source/Ox.UI/js/Calendar/CalendarDate.js deleted file mode 100644 index a598980e..00000000 --- a/source/Ox.UI/js/Calendar/CalendarDate.js +++ /dev/null @@ -1,35 +0,0 @@ -'use strict'; -/*@ -Ox.CalendarDate CalendarDate - () -> CalendarData object - (options) -> CalendarData object - options Options object - start start date - stop stop date -@*/ -// fixme: unused -Ox.CalendarDate = function(options) { - - var self = {}, - that = this; - - ['start', 'stop'].forEach(function(v) { - var date = self.options[v]; - if (Ox.isString(date)) { - date = new Date(self.options[v]); - } - }); - - self.duration = self.options.stop - self.options.start; - - that.format = function() { - - }; - - that.formatDuration = function() { - - }; - - return that; - -};