Skip to content

Instantly share code, notes, and snippets.

@liamcurry
Created December 14, 2016 22:05
Show Gist options
  • Save liamcurry/80d843da6b4498a342465d09716a646b to your computer and use it in GitHub Desktop.
Save liamcurry/80d843da6b4498a342465d09716a646b to your computer and use it in GitHub Desktop.
var _bitrage_io$bitrage_io$Native_Page_Chart = function() {
var d3 = require('d3');
function toHtml(model, factList) {
return _elm_lang$virtual_dom$Native_VirtualDom.custom(
factList,
model,
impl(model)
);
}
// WIDGET IMPLEMENTATION
function impl(model) {
function render() {
var domNode = document.createElement('div');
return domNode;
}
function diff() {
return null;
}
function applyPatch(domNode, data) {
return domNode;
}
return {
render: render,
diff: diff
};
}
return {
toHtml: F2(toHtml)
};
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment