Will there be a suggested file suffix for es4?

mob mob at mbedthis.com
Tue Oct 3 16:14:25 PDT 2006

Agree. The horse has already bolted.

Mime definition files, like those provided with web servers need to be
updated to cover the common ECMAScript extensions. Then the mapping from
extension to content type should be automatic.

However, I do agree that a "suggested" extension(s) for ES4 could prevent
more divergence than we already have. It would be good to be able to
distinguish an ES3 file from an ES4 file by extension.

Michael O'Brien

> -----Original Message-----
> From: es4-discuss-admin at mozilla.org [mailto:es4-discuss-admin at mozilla.org]
> On Behalf Of Peter Hall
> Sent: Tuesday, October 03, 2006 3:47 PM
> To: P T Withington
> Cc: Steven Johnson; es4-discuss at mozilla.org
> Subject: Re: Will there be a suggested file suffix for es4?
> I don't think there can be a standard suffix. ActionScript uses .as
> and I can't imagine that changing it would be a popular decision with
> users. It should be down to the people who define the language's
> environment to determine the suffix, whether that is Netscape defining
> JS or Adobe defining AS, because the same suffix would imply
> compatibility, while each environment provides different native
> objects and uses the language in a different way.
> On the other hand, it would be a shame if my AS project cannot share
> some of the classes from my JS project. So I would be in favour of
> ECMAScript specifying that a conforming implementation does not
> require a specific extension, and leave it up to NetScape to recommend
> using .js for JavaScript, to cover any MIME requirments, if they
> exist.
> Peter
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss

More information about the Es4-discuss mailing list