Sugar to create a widget
Widget returns a function which when called will create a new elements hash from unpack-html using the given HTML template and pass it to you.
The value you return will be passed through but if it doesn't
have a view property then a view property will be set to be
var events =var fold =var document =var console =var Widget =var html = "<div><input data-marker='foo' /></div>"var widget =var item =documentbody
npm install dom-widget