wkeese / requirejs-dplugins

AMD plugins for RequireJS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

requirejs-dplugins Build Status

Set of AMD plugins for RequireJS. It contains the following plugins:

Status

No official release yet.

Migration

Licensing

This project is distributed by the Dojo Foundation and licensed under the "New" BSD License. All contributions require a Dojo Foundation CLA.

Installation

Bower release installation:

$ bower install requirejs-dplugins

Manual master installation:

$ git clone git://github.com/ibm-js/requirejs-dplugins.git

Then install dependencies with bower (or manually from github if you prefer to):

$ cd requirejs-dplugins
$ bower install

When using the jQuery plugin, in order to be able to load jQuery modules, you must manually include jQuery into your app via bower install jquery or via a script tag (ex: <script src="https://code.jquery.com/jquery-2.1.1.min.js">).

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.

jquery

This plugin loads the specified jQuery modules if they are not loaded already.

See docs/jquery.md for documentation.

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.

Promise

This plugin provides an ES6 Promise implementation. If the browser does not provide ES6 Promise, it provides a shim.

See docs/Promise.md for documentation.

About

AMD plugins for RequireJS

License:Other


Languages

Language:JavaScript 93.3%Language:HTML 4.8%Language:CSS 1.8%