Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> web >> libjs-requirejs-text
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libjs-requirejs-text  ]

套件: libjs-requirejs-text (2.0.12-1.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.8 kB34 kB [文件列表]