GitXplorerGitXplorer
a

basket.js

public
3360 stars
275 forks
49 issues

Commits

List of commits on branch gh-pages.
Unverified
f8ea6e9c645f2f146106bfb6a806c9e7b2eb0de8

Merge pull request #163 from BlakeSandes/non-developer-readme-contribution

aaddyosmani committed 9 years ago
Unverified
0dfa73467497d8b69f59607a2ecb68cb8c0a5be2

Added introductory paragraph to readme with the purpose of giving a basic understanding of basket.js for the non-developer or beginner.

BBlakeSandes committed 9 years ago
Unverified
d3d348094ac34f98320d52de9f6e69df929ce1e9

Merge pull request #157 from ReadmeCritic/gh-pages

aaddyosmani committed 9 years ago
Unverified
047dc60f8cf1629bf0f562682f13de077471337c

Readme: Update redirects

RReadmeCritic committed 9 years ago
Unverified
8e9b112eb2dac27f5fd8796b839597240df049c0

Merge pull request #144 from dlepaux/patch-2

aaddyosmani committed 9 years ago
Unverified
a058fa45463952767b3841cbad0b039a211d7038

Merge pull request #148 from pyprism/patch-1

aaddyosmani committed 9 years ago

README

The README file for this repository.

basket.js logo

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

##Introduction for the Non-Developer

Modern web applications will typically make use of more than one JavaScript or CSS framework. As the number of scripts add up, so does the number of HTTP requests. This leads to increased page load times and reduced performance. Basket.js is a project dedicated to aleviating this problem.

Basket.js loads your site's scripts into a page and saves them in localStorage so they can be reused after the session until they are expired. It also checks to see if the scripts are already in localStorage, and if not, loads them. This prevents unneccessary reloading of scripts and can improve load time and website performance.

Build Status

Resources

Examples

Articles

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.

Team

Addy Osmani avatar Sindre Sorhus avatar Andrée Hansson avatar Mat Scales avatar
Addy Osmani Sindre Sorhus Andrée Hansson Mat Scales

License

MIT © Basket.js team