flickity-imagesloaded
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "flickity-imagesloaded", | ||
"main": "flickity-imagesloaded.js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "flickity": "0.2.x", |
/*! | ||
* Flickity imagesLoaded v0.1.1 | ||
* Flickity imagesLoaded v0.1.2 | ||
* enables imagesLoaded option for Flickity | ||
@@ -16,3 +16,3 @@ */ | ||
define( [ | ||
'flickity/js/flickity', | ||
'flickity/js/index', | ||
'imagesloaded/imagesloaded', | ||
@@ -19,0 +19,0 @@ 'fizzy-ui-utils/utils' |
{ | ||
"name": "flickity-imagesloaded", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Enable imagesLoaded option for Flickity", | ||
@@ -5,0 +5,0 @@ "main": "flickity-imagesloaded.js", |
@@ -20,4 +20,24 @@ # Flickity imagesLoaded | ||
### RequireJS | ||
``` js | ||
requirejs( [ 'path/to/flickity-imagesloaded' ], function( Flickity ) { | ||
var flkty = new Flickity( '.gallery', { | ||
imagesLoaded: true | ||
}); | ||
}); | ||
``` | ||
### Browserify | ||
``` js | ||
var Flickity = require('flickity-imagesloaded'); | ||
var flkty = new Flickity( '.gallery', { | ||
imagesLoaded: true | ||
}); | ||
``` | ||
--- | ||
By [Metafizzy](http://metafizzy.co) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11648
43