Unlike Flash, if you develop an application in HTML5 using Canvas, since it uses JavaScript, doesn't that mean the code is wide open? Does using HTML5 mean the end of closed code on the web browser? Am I correct that a Flash application has a closed source?
I know that HTML and JavaScript has been open for a while (just view source right) but I thought really rich applications like in Flash had hidden source code. For those creating in Canvas and HTML5, doesn't that mean the end of hidden code for "rich" applications? And maybe losing money because of it?
edit: not trying to argue but hacking the code by decompiling or reverse engineering it is not what I mean. That code is not open by default. The person that makes something with HTML5 and canvas and JavaScript knows their code will be open. Perhaps this is a reason for many to stick with closed apps like Flash, Silverlight, etc. I don't know.