requirejs-dplugins ![Build Status](https://camo.githubusercontent.com/06a56d70f226d88426863850f0dcf3ef8cb830613ceb77f5847d8b170b10f5b8/68747470733a2f2f7472617669732d63692e6f72672f69626d2d6a732f726571756972656a732d64706c7567696e732e706e673f6272616e63683d6d6173746572)
Set of AMD plugins for RequireJS. It contains the following plugins:
Status
No official release yet.
Licensing
This project is distributed by the Dojo Foundation and licensed under the "New" BSD License. All contributions require a Dojo Foundation CLA.
Installation
Npm release installation:
$ npm install requirejs-dplugins
css
This plugin will load and wait for a css file. CSS loaded with this plugin can be overwritten by user-defined style sheet, using <link>
or <style>
tag.
See docs/css.md for documentation.
has
This plugin provides an extensible API to manage feature detection. It also implements the requirejs plugin api to provide conditional module loading.
See docs/has.md and samples/has.html for documentation and sample.
i18n
This plugin provides an API to handle string translation.
See docs/i18n.md and samples/i18n.html for documentation and sample.
maybe
This plugin allows to require modules that may or may not exist.
See docs/maybe.md and samples/maybe.html for documentation and sample.
svg
This plugin loads an svg graphic and defines it in the DOM, so you can reference it in a <use>
tag.
See docs/svg.md for documentation.