Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You’re projecting the mimetype idea from two examples but the proposal is intentionally agnostic about what type might be used for:

> This proposal does not specify behavior for any particular attribute key or value. The JSON modules proposal will specify that type: "json" must be interpreted as a JSON module, and will specify common semantics for doing so. It is expected the type attribute will be leveraged to support additional module types in future TC39 proposals as well as by hosts.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: