lib/teacup/layout.rb in teacup-2.1.4 vs lib/teacup/layout.rb in teacup-2.1.5
- old
+ new
@@ -162,11 +162,11 @@
end
# assign the 'teacup_next_responder', which is queried for a stylesheet if
# one is not explicitly assigned to the view
if view.is_a? Layout
- puts("=============== layout.rb line #{__LINE__} ===============")
- view.teacup_next_responder = self
+ view.teacup_next_responder = WeakRef.new(self)
+ # view.teacup_next_responder = self
end
if block_given?
superview_chain << view
begin