Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Roku Guru

Why require type="text/brightscript" ?!

The description of <script> ... Id=1608550 says that `type` attribute is "required" and to put "text/brightscript" there.

I see a code example that does not use "type=", so i hope this is a doco omission rather than genuine demand.

Why would somebody require that and not just imply brightscript - just like HTML^ implies "text/javascript" if omitted?
That is, unless one has sadistic tendencies... Even if the Co. were to release another language, it's not like it will become the default, is it?

(^) anyone inclined to argue <script type= > was once theoretically required in HTML - welcome to HTML5!
0 Kudos