From f4e62dd9582608656679393590213333258fb116 Mon Sep 17 00:00:00 2001
From: Simon Egersand <s.egersand@gmail.com>
Date: Thu, 03 Aug 2017 18:52:09 +0200
Subject: [PATCH] Add TODO regarding complex ternary expression

---
 DateTime.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/DateTime.js b/DateTime.js
index 4ed25c7..421cd04 100644
--- a/DateTime.js
+++ b/DateTime.js
@@ -402,6 +402,8 @@
 	},
 
 	render: function() {
+		// TODO: Make a function or clean up this code,
+		// logic right now is really hard to follow
 		var className = 'rdt' + (this.props.className ?
                   ( Array.isArray( this.props.className ) ?
                   ' ' + this.props.className.join( ' ' ) : ' ' + this.props.className) : ''),

--
Gitblit v1.9.3