Skip to content

Instantly share code, notes, and snippets.

View yonicd's full-sized avatar

yonicd

View GitHub Profile
@yonicd
yonicd / mycode.js
Created July 22, 2016 15:25 — forked from markheckmann/mycode.js
client/server interaction with shiny - part 3 (separate JS file)
// Execute function body when the HTML document is ready
$(document).ready(function() {
// javascript code to send data to shiny server
document.getElementById("mydiv").onclick = function() {
var number = Math.random();
Shiny.onInputChange("mydata", number);
};
@yonicd
yonicd / .block
Last active January 6, 2018 03:15 — forked from timelyportfolio/.block
alternate version of market quilt
license: mit
height: 600