lib/hyperstack/ext/component/element.rb in hyper-component-1.0.alpha1.2 vs lib/hyperstack/ext/component/element.rb in hyper-component-1.0.alpha1.3

- old
+ new

@@ -43,6 +43,22 @@ } } Element.expose :mount_components end -DOM = Element +module Hyperstack + module Internal + module Component + module InstanceMethods + def set_jq(var) + ->(val) { set(var).call(jQ[val]) } + end + end + end + end +end + +class Object + def jQ + Element + end +end