It is nice to build HTML using regular HTML tags, instead of building up DOM
structures in script. However, there is no good way to embed HTML in a
JavaScript file. The best that can be done is using a string of HTML, but that
can be hard to manage, particularly for multi-line HTML.
.
The text.js AMD loader plugin can help with this issue. It will automatically
be loaded if the text! prefix is used for a dependency.
Installed Size: 34.8 kB
Architectures: all