module path resolution

Irakli Gozalishvili rfobic at gmail.com
Fri Mar 23 17:05:59 PDT 2012


I'v being trying to figure out how ES.next module path resolution would work. Unfortunately proposal is not very clear about it: http://wiki.ecmascript.org/doku.php?id=harmony:modules 

Here are some of the questions I have:

1. Will html [base element] have a same effect on modules as it has on script tags today ?
2. Are relative paths resolved to a requirer's url, owner html document's urlor baseURI ?

If my assumptions are correct this little example is correct:
https://github.com/Gozala/packageless/tree/master/examples/es.next/

[base element]:https://developer.mozilla.org/en/HTML/Element/base

Regards
--
Irakli Gozalishvili
Web: http://www.jeditoolkit.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120323/178f6e30/attachment-0001.html>


More information about the es-discuss mailing list