On 2015-05-21, 07:50 GMT, Satyajit Sahoo wrote:
> Yeah modules are a must. Right now we need to do the following,
>
> imports.searchPath.unshift(".");
>
> const ModName  = imports.filename

This reminds that I still don’t know what is the story of 
imports.searchPath (or $LD_LIBRARY_PATH, or $PYTHONPATH, etc.) 
in the ES6 universe. Is there such concept in the standard or is 
it actually implementation dependent (that would be bad, IMHO)?

> ES6 modules will solve this problem. But then what will happen to the
> current method? It'll suck to use *imports* for the core libraries and
> the *import

I think with 
https://bugzilla.mozilla.org/showdependencytree.cgi?id=694100&hide_resolved=1 
getting shorter and shorter (and particularly 
https://bugzilla.mozilla.org/showdependencytree.cgi?id=568953&hide_resolved=1 
is even shorter) there should be some discussion on the future 
of GJS in view of the emerging ES6 developments (also classes, 
etc.).

Best,

Matěj
-- 
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
understand, v.:
    To reach a point, in your investigation of some subject, at
    which you cease to examine what is really present, and
    operate on the basis of your own internal model instead.

_______________________________________________
javascript-list mailing list
javascript-list@gnome.org
https://mail.gnome.org/mailman/listinfo/javascript-list

Reply via email to