Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
Remove meaningless tag
Browse files Browse the repository at this point in the history
  • Loading branch information
erikhansen authored Apr 30, 2018
1 parent ca2794c commit 4f7ca0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/v2.0/javascript-dev-guide/javascript/js_init.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ return;
Such a component does not require either <code>config</code> or <code>element</code>. The recommended way to declare such components is <a href="#init_script">using the &lt;script&gt; tag</a>.</li>
</ul>

#### Declarative notation using the `<script type="text/x-magento-init />` tag {decl_tag}
#### Declarative notation using the `<script type="text/x-magento-init />` tag

To call a JS component on a HTML element without direct access to the element or with no relation to a certain element, use the `<script type="text/x-magento-init">` tag and attribute. The syntax is following:

Expand Down

0 comments on commit 4f7ca0c

Please sign in to comment.