Gabrijel Gavranović
Gabrijel Gavranović
This could get hairy. Initially I wanted to use the stream/pipe flow, but I decided against it because you can end up screwing up a whole lot of stuff. For...
@DonGissel: As I stated before, I do agree (and love) the streaming pipe but the thing is: What should the plugin pipe? We've got the raw/processed SVGs, generated PNGs, generated...
@DonGissel okay I get your drift :) @mrmartineau Will figure something out, eventually!
@weshardee It'll get in there soon enough; been swamped with other things lately. But the thing is, as @DonGissel says, piping is one of the perks you get with gulp....
Well, the Math.round is probably not even needed, added it there just as a precaution. Method was taken and adapted from grunticon (https://github.com/filamentgroup/grunticon/blob/master/lib/img-stats.js). They are not using any Math/parseInt calls...
Found an undocumented param: weekStart, and works just fine! For example: ```javascript $('#calendar').calendar({ weekStart: 1 // week starts on monday }); ```