Skip to content
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

Added "Meyer Objects" watchface #57

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions examples/community.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,31 @@ <h3>Game of Life by <a class="example-author" href="https://github.com/fletchto9
Game of Life on jsbin.com
</a></p>
</div>
<div class="community-example">
<h3>Meyer Objects by <a class="example-author" href="https://github.com/ygalanter">Yuriy Galanter</a></h3>
<p><a class="jsbin-embed" href="http://jsbin.com/felaza/1/embed?js,output&amp;height=350px">
Meyer Objects on jsbin.com
</a></p>
</div>
<div class="community-example">
<h3>Vortex by <a class="example-author" href="https://github.com/ygalanter">Yuriy Galanter</a></h3>
<p><a class="jsbin-embed" href="http://jsbin.com/banima/embed?output&amp;height=350px">
Vortex on jsbin.com
</a></p>
</div>
<div class="community-example">
<h3>Effects by <a class="example-author" href="https://github.com/ygalanter">Yuriy Galanter</a></h3>
<p><a class="jsbin-embed" href="http://jsbin.com/nebace/1/embed?js,output&amp;height=350px">
Effects on jsbin.com
</a></p>
</div>
<div class="community-example">
<h3>Fireplace<a class="example-author" href="https://github.com/ygalanter">Yuriy Galanter</a></h3>
<p><a class="jsbin-embed" href="http://jsbin.com/bogalu/2/embed?html,js,output">
Fireplace on jsbin.com
</a></p>
</div>



</div>
Expand Down
5 changes: 4 additions & 1 deletion src/html-binding.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*

Copyright © 2015-2016 Pebble Technology Corp.,
All Rights Reserved. http://pebble.github.io/rockyjs/LICENSE
Expand Down Expand Up @@ -133,5 +133,8 @@ Rocky.bindCanvas = function(canvas, options) {
// schedule one render pass for the next run iteration of the run loop
setTimeout(function() { binding.mark_dirty(); }, 0);

// expose framebuffer to the caller
binding.framebuffer = framebufferPixels;

return binding;
};