Skip to content

0.4.15

Compare
Choose a tag to compare
@nicolas-t nicolas-t released this 22 Dec 17:26
· 142 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