rgrove/lazyload — pull request #23 by herroffizier (2014-02-26 10:01:19+00:00)
Title: Custom attributes for resource tags

Hi, Ryan!

With my patch user can add custom attributes for resource tags by using objects instead of strings.

```js
// This code will produce link or style tag with media="print":
LazyLoad.css(['foo.js', 'bar.js', {url: 'baz.js', media: 'print'}]);
```