Created
December 15, 2016 19:41
-
-
Save liamcurry/f8ad14052bb0e1b5431ba14c8c41c06c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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