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
Add page up and down key support #15
Conversation
Thanks for the pull request! I finally had a chance to have a proper look at this. Unfortunately your pull request pushes Bespoke.js over the 1KB (min'd and gzipped) limit. If you run Would you like to force push an update to your fork to get your pull request below 1KB, or would you prefer I do it myself? I like the page up/down changes since it works with presentation remotes, but I think you can leave the shift+space combo out for now since the bytes needed to achieve it are very precious :) |
Thanks for your answer. It's awesome to have such great objective as keep bespoke under 1KB! I let you know when it's done. |
Hi Mark! I played with grunt and updated my pull request. The current master branch is announced as 508 bytes (min+gzip). So I guess there was a lot of changes since my first PR. Is it OK for you? See you, |
Sorry in advance for being a pain :) I really want the page up and down support, and I'd love for you to get the credit for it, so could you please do the following?
Let me know if you have any issues :) Cheers, |
Hi Mark! You're in your right to be a pain :P I made the modifications in the right order, at least I think so. This PR has now a weight of 1018 bytes, instead of 1011 bytes for the current master. Let me know if it's ok for you ;) Cheers, |
Thanks for that, it's looking pretty good. The only problem now is the indenting. Would you be able to modify your commits to use tabs instead of spaces and then force push to your branch? Bonus points if you squish your two commits into one ;) |
I took the bonus point! Cheers, |
Add page up and down key support
Perfect! Thanks for the pull request :) |
Yeah \o/ |
Hi!
Bespoke.js is completly awesome.
I make HTML presentations for a long time, but I always needed to overwrite a lot of CSS style. That was before :)
So I made a presentation for a web conference in France.
The page down and up key support was missing, and that's what use the remote controllers.
I also added the Shift+Space key combination support, just because I like to use it.
I made some refactoring to improve code readability of this section.
I hope you will like it.
See you,
Thomas.