Tire is a lightweight JavaScript library for modern browsers. The goal is to create a framework that's around 12-15kb minified and 5kb minified and gzipped. The syntax is inspired from jQuery. It is modular so you can extend it however you like, also replace our features with your own.
Fixes for older browsers increase the file size and we don't want that. So if you like a library to support Internet Explorer 6 or 7, Tire isn't for you.
That said, all features can probably be rewritten/extended to add support for old browsers. In that case, you have to create a fork of Tire and fix it yourself.
- Chrome
- Safari 4.0.5
- Internet Explorer 8
- Firefox 3.5
- Opera 10
Tire may work in older browsers but is not tested in older than the above.
Current release: 1.1.1
- tire.js - 35kB uncompressed (lots of comments), for development
- tire.min.js - 4.5kB when gzipped, for production
Please do not hotlink directly to the files hosted on code.tirejs.com. Download a local copy instead.
npm install
make
On Windows
npm install
grunt.cmd
Install connect
via npm
and start the server. This will create a local server (on port 3000) so the ajax tests don't failes.
Be sure to build tire first or all tests will fail! Then you can open http://localhost:3000/
in your browser to run the tests.
npm install
node server.js
Everyone is welcome to contribute with patches, bug-fixes and new features.
- Create an issue on Github so the community can comment on your idea.
- Fork
tire
on Github. - Create a new branch:
git checkout -b my_branch
. - Create tests for the changes you made.
- Make sure you pass both existing and newly inserted tests.
- Commit your changes.
- Push to your branch:
git push origin my_branch
. - Create a pull request against
*-wip
branches.
Note:
- Please follow the code style in Tire.
- If you are making several changes at once please divide them into multiple pull requests.
- Always create the pull request against the
*-wip
branches, not themaster
.