0.4.15
New hooks :
Added a new hooks :
afterInitialize
called after chocolat is initializedafterImageLoad
called each time an image is loaded (see #47)
$('#example').Chocolat({
afterInitialize : function () {
// your code here
},
afterImageLoad : function () {
// your code here
}
});
Fixed missing var
declarations :
Missing var
declarations made minifying and concatenating failing on some setups.
Thanks to @nicolasbinet (see #52)
Related issue : #49