Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> web >> libjs-requirejs-text
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libjs-requirejs-text  ]

软件包: libjs-requirejs-text (2.0.12-1)

loader plugin for loading text resources

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.

其他与 libjs-requirejs-text 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libjs-requirejs-text

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 8.7 kB34 kB [文件列表]