Skip to content

Commit 1abf285

Browse files
committed
Formatting
1 parent 23a8b0d commit 1abf285

File tree

1 file changed

+1
-5
lines changed
  • packages/@glimmer/runtime/lib/compiled/opcodes

1 file changed

+1
-5
lines changed

packages/@glimmer/runtime/lib/compiled/opcodes/content.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,7 @@ APPEND_OPCODES.add(Op.AppendHTML, (vm) => {
9696
let reference = check(vm.stack.pop(), CheckReference);
9797

9898
let rawValue = valueForRef(reference);
99-
let value = isEmpty(rawValue)
100-
? ''
101-
: isTrustedHTML(rawValue)
102-
? (rawValue)
103-
: String(rawValue);
99+
let value = isEmpty(rawValue) ? '' : isTrustedHTML(rawValue) ? rawValue : String(rawValue);
104100

105101
vm.elements().appendDynamicHTML(value);
106102
});

0 commit comments

Comments
 (0)