-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chaining #18
Labels
Comments
I'm rewriting sketch soon to add some nice sugar and reduce code. I like this idea - it shouldn't add much to the codebase to wrap up prototype methods in a callback that returns the context. I'll probably add it in v1.1 :) |
+1 |
soulwire
pushed a commit
that referenced
this issue
May 28, 2013
…ds that would otherwise return `void`. This can be switched on by passing `true` as the `chain` flag in options (`false` by default). #18
Just pushed feature this to it's own branch. Check it out - I'll merge into master once thoroughly tested. |
soulwire
pushed a commit
that referenced
this issue
May 28, 2013
… key, value pairs or a hash of properties to set. Updated drawing example to illustrate this. #18
soulwire
pushed a commit
that referenced
this issue
May 28, 2013
Awesome! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just wanted to add an enhancement request. If you could allow the chaining of canvas functions, that would be awesome :)
Check out LeaVerou's chainvas for inspiration.
The text was updated successfully, but these errors were encountered: