Skip to content

Commit

Permalink
Turns out this whole thing was issue 26 after all \o/
Browse files Browse the repository at this point in the history
  • Loading branch information
back2dos committed Mar 2, 2021
1 parent a52cc7a commit e2d2eab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/Issue8.hx → tests/Issue26.hx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import js.Browser.*;
using tink.CoreApi;

@:asserts
class Issue8 {
class Issue26 {
static final msgs = [];
static public function log(v)
msgs.push(v);
Expand All @@ -35,7 +35,7 @@ class Root extends View {
});

function render() {
Issue8.log('render Root ${value.raw.length}');
Issue26.log('render Root ${value.raw.length}');
return @hxx '
<>
<for ${i in 0...value.raw.length}>
Expand All @@ -54,7 +54,7 @@ class Sub extends View {
@:attr var value:Value<Obj, Obj>;
@:attr var onClick:Void->Void;
function render() {
Issue8.log('render Sub ${value.raw}');
Issue26.log('render Sub ${value.raw}');
return @hxx '<Div onclick=${onClick}>${value.raw == null ? null : value.raw.foo}</Div>';
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/RunTests.hx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class RunTests {
static function main() {
Runner.run(TestBatch.make([
new InjectTest(),
new Issue8(),
new Issue26(),
])).handle(Runner.exit);
}
}
Expand Down

0 comments on commit e2d2eab

Please sign in to comment.