Skip to content

Instantly share code, notes, and snippets.

@liamcurry
Created December 15, 2016 19:41
Show Gist options
  • Save liamcurry/f8ad14052bb0e1b5431ba14c8c41c06c to your computer and use it in GitHub Desktop.
Save liamcurry/f8ad14052bb0e1b5431ba14c8c41c06c to your computer and use it in GitHub Desktop.
var _user$project$Native_Thing = function() {
function toHtml(model, factList) {
function render(e) {
console.log('render', e);
var domNode = document.createElement('div');
return domNode;
}
function diff() {
console.log('diff');
return false;
}
var impl = {
render: render,
diff: diff
};
return _elm_lang$virtual_dom$Native_VirtualDom.custom(
factList,
model,
impl
);
}
return {
toHtml: F2(toHtml)
};
}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment