const hyperglue = require('hyperglue')
const html      = require('fs').readFileSync(__dirname + '/index.html')

module.exports = function(movie) {
	return hyperglue(html, {
		'.name': movie.name,
		'.desc': movie.desc,
		'.movie': {
			'data-id': movie.id.toString()
		}
	})
}
const hyperglue = require('hyperglue')
const html      = require('fs').readFileSync(__dirname + '/index.html').toString()

module.exports = function(movie) {
	return hyperglue(html, {
		'.name': movie.name,
		'.desc': movie.desc,
		'.movie': {
			'data-id': movie.id.toString(),
			'data-name': movie.name
		}
	})
}
Make _movie include the id
Make _movie include the id
