https://github.com/grassator/rjs-shim
Alternative to almond to avoid including full require.js in your build
https://github.com/grassator/rjs-shim
Last synced: 10 months ago
JSON representation
Alternative to almond to avoid including full require.js in your build
- Host: GitHub
- URL: https://github.com/grassator/rjs-shim
- Owner: grassator
- License: mit
- Created: 2014-02-02T06:33:51.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-02-02T06:40:36.000Z (almost 12 years ago)
- Last Synced: 2023-04-09T14:49:40.094Z (almost 3 years ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rjs-shim
A replacement [AMD](https://github.com/amdjs/amdjs-api/wiki/AMD) loader for
[RequireJS](http://requirejs.org). It is a smaller "shim" loader, providing the
minimal AMD API footprint. It's similar to [almond](https://github.com/jrburke/almond)
but doesn't provide loader plugin support.
Another difference is that require statements are madi synchronous which is
useful if you are using require.js to build some code that is required to
execute at certain point in page loading.
## Restrictions
This shim only works with r.js builds. To see an example of real world usage
please refer to my [grunt-requirejs-karma-seed](https://github.com/grassator/grunt-requirejs-karma-seed)
project.