Jade - how to denote an attribute with a hyphen?

Problem

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")
Problem courtesy of: George Mauer

Solution

That is correct, but you need a comma between the attributes.

script(data-main="public/javascripts", src="public/javascripts/require.js")
Solution courtesy of: Michelle Tilley

Discussion

There is currently no discussion for this recipe.

This recipe can be found in it's original form on Stack Over Flow.