express-blocks icon indicating copy to clipboard operation
express-blocks copied to clipboard

add type='text/javascript' to standard script tag

Open tommedema opened this issue 13 years ago • 5 comments

tommedema avatar May 18 '11 15:05 tommedema

Not into HTML5? ;)

aseemk avatar May 24 '11 18:05 aseemk

@aseemk, hmm why not?

tommedema avatar May 24 '11 19:05 tommedema

Sorry for not being clear -- the type attribute is optional in HTML5. =)

(See https://github.com/paulirish/html5-boilerplate/blob/master/index.html#L47-66 for example)

aseemk avatar May 24 '11 19:05 aseemk

@aseemk, in that case you could still add it for those who do not use the html5 doctype (me being an example).

tommedema avatar May 24 '11 19:05 tommedema

Okay -- I'd like to keep the default the slimmer HTML5 style, but I'll consider making this configurable!

aseemk avatar May 24 '11 21:05 aseemk