<commit_before># grunt-lazyload

Gruntplugin Lazy Loading

[![Build Status](https://travis-ci.org/raphaeleidus/grunt-lazyload.png)](https://travis-ci.org/raphaeleidus/grunt-lazyload)

## Getting Started
Install the module with: `npm install grunt-lazyload --save`

```javascript
var lazyloader = require('grunt-lazyload').lazyloader;

lazyloader.init(grunt);
lazyloader.load('grunt-contrib-jshint', 'jshint');
```

## Documentation
_(Coming soon)_

## Examples
_(Coming soon)_

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
* 5/9/2013 - 0.0.2
* 5/10/2013 - 0.0.4 (Better tests)
* 5/10/2013 - 0.0.6 (gruntplugin keyword added to npm)
* 5/14/2013 - 0.1.0
* 5/14/2013 - 0.2.0 (use an init function to pass in the grunt object)
## License
Copyright (c) 2013 <NAME>
Licensed under the MIT license.<commit_msg>provide examples in documentation<commit_after># grunt-lazyload

Gruntplugin Lazy Loading

[![Build Status](https://travis-ci.org/raphaeleidus/grunt-lazyload.png)](https://travis-ci.org/raphaeleidus/grunt-lazyload)

## Getting Started
Install the module with: `npm install grunt-lazyload --save`

```javascript
var lazyloader = require('grunt-lazyload').lazyloader;
lazyloader.init(grunt);

lazyloader.load('grunt-contrib-jshint', 'jshint');
```

## Documentation
_(Coming soon)_

## Examples
*Setting up a lazyloader instance:*
```javascript
var lazyloader = require('grunt-lazyload').lazyloader;
lazyloader.init(grunt);
```
This is not truely a gruntplugin but a node module that adds an interface around grunt to allow lazy loading so you have to pass it an instance of grunt

*Lazy loading a library with a single task:*
```javascript
lazyloader.load('grunt-contrib-jshint', 'jshint');
```

*Lazy loading a library with multiple tasks:*
```javascript
lazyloader.load('grunt-some-plugin', ['task1', 'task2', 'task3']);
```

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
* 2/3/2014   - 0.2.2 (fix multitarget/paramater passing bug)
* 5/14/2013  - 0.2.0 (use an init function to pass in the grunt object)
* 5/14/2013  - 0.1.0
* 5/10/2013  - 0.0.6 (gruntplugin keyword added to npm)
* 5/10/2013  - 0.0.4 (Better tests)
* 5/9/2013   - 0.0.2
## License
Copyright (c) 2013 <NAME>
Licensed under the MIT license.
{'fraction_non_alphanumeric': 0.13488372093023257, 'fraction_numerical': 0.04573643410852713, 'mean_word_length': 4.491489361702127, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '32075', 'n_tokens_mistral': 976, 'n_tokens_neox': 929, 'n_words': 269}