This git repo is just a basic sketch of concepts conveyed in my JS Legos talk. This is not a production-ready library.
Maybe, if we get enough people contributing, we could do more to implement and test new features. See contributing
If you'd like to compile your own version of lego.js with specific widgets included/excluded, follow these steps:
- Clone this repo
- run
npm install
andbower install
- Edit
src/namespace.js
to return only the components you need - Recompile source by running
npm run-script build
- Copy/paste
lego.min.js
where you need it
- Fork this repo
- Clone your forked repo
- run
npm install
andbower install
- Make changes
- Recompile source by running
npm run-script build
- Submit a pull request