Closed dvdotsenko closed 12 years ago
This pull request is here to announce "change in core" so people who could be coding / tweaking against it would get familiar earlier, before Docs arrive.
Demo of the updated code is here http://willowsystems.github.com/jSignature/#/demo/
I have played around with this version for a bit and rather like it. Don't see any ugly side effects. Will merge. Docs still to follow.
Broke apart gargantuan jSignature initializer that did not change in structure since earlier versions.
Now it's jSignatureClass with externally-specified methods.
This makes the code a bit clearer (easier to read, maintain)
I needed that ^ to add "undo last stroke" code into core.
Instead, I added "functionality extensions hooks" - plugin hooks and added UndoButton as plugin. It all rides on top of PubSub-based event machine, so added more events that fire during jSignature init.
We (Willow Systems) are sufficiently happy now with feature-set of jSignature. So, I don't plan new big features to, rewrites of the core any time soon. Will document the API and push it up.
Daniel.