| 1 | Source: libjs-requirejs-text |
| 2 | Standards-Version: 4.7.3 |
| 3 | Maintainer: Debian Javascript Maintainers <[email protected]> |
| 4 | Uploaders: |
| 5 | Thomas Goirand <[email protected]>, |
| 6 | Section: javascript |
| 7 | Build-Depends: |
| 8 | debhelper-compat (= 13), |
| 9 | yui-compressor, |
| 10 | Vcs-Browser: https://salsa.debian.org/js-team/libjs-requirejs-text |
| 11 | Vcs-Git: https://salsa.debian.org/js-team/libjs-requirejs-text.git |
| 12 | Homepage: https://github.com/requirejs/text |
| 13 | |
| 14 | Package: libjs-requirejs-text |
| 15 | Section: javascript |
| 16 | Architecture: all |
| 17 | Multi-Arch: foreign |
| 18 | Depends: |
| 19 | ${misc:Depends}, |
| 20 | Recommends: |
| 21 | javascript-common, |
| 22 | libjs-requirejs, |
| 23 | Description: loader plugin for loading text resources |
| 24 | It is nice to build HTML using regular HTML tags, instead of building up DOM |
| 25 | structures in script. However, there is no good way to embed HTML in a |
| 26 | JavaScript file. The best that can be done is using a string of HTML, but that |
| 27 | can be hard to manage, particularly for multi-line HTML. |
| 28 | . |
| 29 | The text.js AMD loader plugin can help with this issue. It will automatically |
| 30 | be loaded if the text! prefix is used for a dependency. |