style(util): tslint updates

This commit is contained in:
Adam Bradley
2016-09-13 15:17:55 -05:00
parent a9e0eef1a6
commit 2c1cdce988
4 changed files with 90 additions and 34 deletions

View File

@ -1,4 +1,4 @@
import { isBlank, isPresent, isString, isObject, assign } from './util';
import { assign, isBlank, isPresent, isString } from './util';
export function renderDateTime(template: string, value: DateTimeData, locale: LocaleData) {
@ -466,8 +466,6 @@ const FORMAT_KEYS = [
{ f: FORMAT_a, k: 'ampm' },
];
const FORMAT_REGEX = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|DD?D?D?|ddd?d?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|.)/g;
const DAY_NAMES = [
'Sunday',
'Monday',