twolfson/spritesmith

Allow custom algorithm as a paramter

twolfson opened this issue · 1 comments

We are treating layout as the only store system for algorithms. We should allow functions to be provided as well. We should also consider removing addAlgorithm calls from layout.

layout currently supports passing in a function as a parameter. I am guessing we implemented this and forgot to close it.

https://github.com/twolfson/layout/blob/2.2.0/lib/layout.js#L16-L22