File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module Renderer
20
20
#
21
21
# Raises an error if the registry request times out and client failover is
22
22
# disabled, otherwise will return an unrendered <oc-component> tag for
23
- # client-side rendered .
23
+ # client-side rendering .
24
24
def render_component ( component , opts = { } )
25
25
super ( component , opts ) . html_safe
26
26
rescue OpenComponents ::RegistryTimeout
@@ -42,7 +42,7 @@ def render_component(component, opts = {})
42
42
# OC registry, component name, and params and version if they're available.
43
43
#
44
44
# oc_component_tag('my-component', params: {name: 'Zan'}, version: '1.0.2')
45
- # # => <oc-component href="http://localhost:3030/my-component/1.0.2?name=Zan">
45
+ # # => <oc-component href="http://localhost:3030/my-component/1.0.2?name=Zan" / >
46
46
#
47
47
# oc_component_tag('my-component', href: 'http://some.registry/my-component')
48
48
# # => <oc-component href="http://some.registry/my-component" />
You can’t perform that action at this time.
0 commit comments