0.4.15

@nicolas-t nicolas-t released this Dec 22, 2016 · 6 commits to master since this release

New hooks :
Added a new hooks :

  • afterInitialize called after chocolat is initialized
  • afterImageLoad 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

Downloads