Re: [whatwg] runat (or "server") attribute

On Sun, May 13, 2012 at 6:24 PM, Ashley Sheridan
<ash@ashleysheridan.co.uk> wrote:
> On Sun, 2012-05-13 at 17:16 +0200, Anne van Kesteren wrote:
>> Just use type="text/server-js"...
>
> Is that really a good idea? It seems odd to use a mime type for such a
> reason.

1) It makes it backwards compatible and therefore works today (modulo
server-side changes). 2) Server-side JavaScript is not fully
compatible with client-side JavaScript (other libraries for instance)
so deserves a type other than text/javascript.


-- 
Anne — Opera Software
http://annevankesteren.nl/
http://www.opera.com/

Received on Monday, 14 May 2012 10:06:47 UTC