lib/preact/component/initializer.rb in isomorfeus-preact-10.6.32 vs lib/preact/component/initializer.rb in isomorfeus-preact-10.6.33

- old
+ new

@@ -1,11 +1,7 @@ -module Preact - module Component - module Initializer - def initialize(native_component) - @native = native_component - @props = `Opal.Preact.Props.$new(#@native)` - @state = `Opal.Preact.State.$new(#@native)` - end - end +module Preact::Component::Initializer + def initialize(native_component) + @native = native_component + @props = `Opal.Preact.Props.$new(#@native)` + @state = `Opal.Preact.State.$new(#@native)` end end