itsuryev / basket.js

A script and resource loader for caching & loading scripts with localStorage

Home Page:http://addyosmani.github.com/basket.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

basket.js logo

Basket.js is a script and resource loader for caching and loading scripts using localStorage

Build Status

Contribute

Style Guide

This project follows the Idiomatic guide to writing JavaScript - a concise extension to the jQuery Core Style guidelines, with the exception of multiple var statements. Please ensure any pull requests follow these closely.

Unit Tests

We are also attempting to get as much unit test coverage as possible. For this reason, please add unit tests for any new or changed functionality and remember to lint and test your code using grunt.

Also, please don't edit files in the "dist" subdirectory as they are generated via grunt. You'll find source code in the "lib" subdirectory!

Building

To build the project, you will first need to install the necessary dependencies (such as RSVP) using npm and Bower. Run:

npm install && bower install

in the project root to get everything you need. Next, to actually build the project you will need Grunt.Run

grunt release

to generate a new release, otherwise just running grunt test will run the unit tests.

Community articles, extensions and examples

Examples

Articles

Team

Addy Osmani avatar Sindre Sorhus avatar Andrée Hansson avatar Mat Scales avatar
Addy Osmani (lead) Sindre Sorhus Andrée Hansson Mat Scales

License

(c) Addy Osmani, the basket.js project MIT License

About

A script and resource loader for caching & loading scripts with localStorage

http://addyosmani.github.com/basket.js