Created
December 14, 2016 22:05
-
-
Save liamcurry/80d843da6b4498a342465d09716a646b 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 _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