Skip to content

Commit

Permalink
Fix widget -> drawable in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgibbs committed Oct 10, 2023
1 parent 6eb4d9f commit fbafbad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lacci/lib/shoes/drawables/subscription_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# linkable_id automatically.
#
# Events not yet implemented: start, finish events for slots -
# start is first draw, finish is widget destroyed
# start is first draw, finish is drawable destroyed
class Shoes::SubscriptionItem < Shoes::Drawable
shoes_styles :shoes_api_name, :args

Expand Down Expand Up @@ -39,7 +39,7 @@ def initialize(args: [], shoes_api_name:, &block)
@callback&.call(self)
end
when "leave"
# Leave passes the Shoes widget as the block param
# Leave passes the Shoes drawable as the block param
@unsub_id = bind_self_event("leave") do
@callback&.call(self)
end
Expand Down

0 comments on commit fbafbad

Please sign in to comment.