diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-15 23:02:30 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-15 23:02:30 -0500 |
commit | 8d9f2e9ccc54c17027c01d7fee8ac67c51044655 (patch) | |
tree | 7be4adfea67980ead1c139b4f719159a036fc40d /src/pattern.ts | |
parent | a420162e3c679604ba06bfbb055b1e14fbb48b8e (diff) |
clean up code
Diffstat (limited to 'src/pattern.ts')
-rw-r--r-- | src/pattern.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/pattern.ts b/src/pattern.ts index d067bf4..d21710f 100644 --- a/src/pattern.ts +++ b/src/pattern.ts @@ -77,8 +77,9 @@ export class PatternEntry { Pattern.emptyPattern(), Pattern.anyPattern(), {background: null})); - static inflate = (obj: PatternEntryFlat) => new PatternEntry( - obj.name, obj.idx, - Pattern.inflate(obj.cal), Pattern.inflate(obj.event), - obj.color); + static inflate = (obj: PatternEntryFlat) => ( + new PatternEntry(obj.name, obj.idx, + Pattern.inflate(obj.cal), + Pattern.inflate(obj.event), obj.color) + ); } |