I would like to place an html5 data-attribute
on a tag in a jade template. How on earth do I do this? The following gives a syntax error.
script(data-main="public/javascripts" src="public/javascripts/require.js")
That is correct, but you need a comma between the attributes.
script(data-main="public/javascripts", src="public/javascripts/require.js")