Skip to content

Commit 681fa91

Browse files
committed
enable filters to run against the contents of stimulus classes
1 parent 5d34065 commit 681fa91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby2js/filter/stimulus.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def on_class(node)
127127

128128
nodes.pop unless nodes.last
129129

130-
node.updated(nil, [*node.children[0..1], s(:begin, *nodes)])
130+
node.updated(nil, [*node.children[0..1], s(:begin, *process_all(nodes))])
131131
end
132132

133133
# analyze ivar usage

0 commit comments

Comments
 (0)