Simon Egersand
2017-07-29 2bcc09448a669712b66f09f63fe0dc94eb03dfbc
Update indentation and style for consistency
2 files modified
9 ■■■■■ changed files
DateTime.js 9 ●●●●● patch | view | raw | blame | history
src/DaysView.js patch | view | raw | blame | history
DateTime.js
@@ -103,11 +103,9 @@
    getUpdateOn: function( formats ) {
        if ( formats.date.match(/[lLD]/) ) {
            return 'days';
        }
        else if ( formats.date.indexOf('M') !== -1 ) {
        } else if ( formats.date.indexOf('M') !== -1 ) {
            return 'months';
        }
        else if ( formats.date.indexOf('Y') !== -1 ) {
        } else if ( formats.date.indexOf('Y') !== -1 ) {
            return 'years';
        }
@@ -205,8 +203,7 @@
        if ( localMoment.isValid() && !this.props.value ) {
            update.selectedDate = localMoment;
            update.viewDate = localMoment.clone().startOf('month');
        }
        else {
        } else {
            update.selectedDate = null;
        }
src/DaysView.js