Simon Egersand
2017-07-29 f4e62dd9582608656679393590213333258fb116
Add TODO regarding complex ternary expression
1 files modified
2 ■■■■■ changed files
DateTime.js 2 ●●●●● patch | view | raw | blame | history
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) : ''),