Skip to content

Commit def6df1

Browse files
author
Steven Orvell
committed
Fix spacing.
1 parent 297b8b2 commit def6df1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/lib/updating-element.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -456,9 +456,9 @@ export abstract class UpdatingElement extends HTMLElement {
456456
private static _propertyValueFromAttribute(
457457
value: string|null, options: PropertyDeclaration) {
458458
const type = options.type;
459-
const converter = options.converter || defaultConverter;
459+
const converter = options.converter || defaultConverter;
460460
const fromAttribute =
461-
(typeof converter === 'function' ? converter : converter.fromAttribute);
461+
(typeof converter === 'function' ? converter : converter.fromAttribute);
462462
return fromAttribute ? fromAttribute(value, type) : value;
463463
}
464464

@@ -476,11 +476,11 @@ export abstract class UpdatingElement extends HTMLElement {
476476
return;
477477
}
478478
const type = options.type;
479-
const converter = options.converter;
480-
const toAttribute =
481-
converter && (converter as ComplexAttributeConverter).toAttribute ||
482-
defaultConverter.toAttribute;
483-
return toAttribute!(value, type);
479+
const converter = options.converter;
480+
const toAttribute =
481+
converter && (converter as ComplexAttributeConverter).toAttribute ||
482+
defaultConverter.toAttribute;
483+
return toAttribute!(value, type);
484484
}
485485

486486
private _updateState: UpdateState = 0;

0 commit comments

Comments
 (0)