On Tue, 12 Aug 2014, David Herman wrote:
> On Aug 12, 2014, at 2:46 PM, Ian Hickson wrote:
> > On Tue, 12 Aug 2014, David Herman wrote:
> >>
> >> This is part of the design work we're actively working on. I'd ask
> >> you to hold off until we have some more information for you. I'll
> >> keep y
On Aug 12, 2014, at 2:46 PM, Ian Hickson wrote:
> On Tue, 12 Aug 2014, David Herman wrote:
>>
>> This is part of the design work we're actively working on. I'd ask you
>> to hold off until we have some more information for you. I'll keep you
>> posted -- we should have some more details for yo
On Tue, Aug 12, 2014 at 3:26 PM, Ian Hickson wrote:
> On Tue, 12 Aug 2014, John Barton wrote:...
> > > (only if the last segment is part of the "path" part of the URL and
> > > doesn't contain a "."?).
> >
> > No such restriction is applied in our code.
>
> Sure. What do we want for the default W
On Tue, 12 Aug 2014, John Barton wrote:
> On Tue, Aug 12, 2014 at 2:45 PM, Ian Hickson wrote:
> > On Tue, 12 Aug 2014, John Barton wrote:
> > >
> > > See the implemention in es6-module-loader:
> > > https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/system.js#L117
> >
> > Ah, fascin
>
>
> Ah, fascinating. So basically:
>
> - "normalize" does relative URL logic based on the current base URL and
>the referrer (i.e. the URL of the script doing the importing).
>
> - "locate" resolves that URL and adds ".js" (only if the last segment
>is part of the "path" part of the URL
On Tue, Aug 12, 2014 at 2:45 PM, Ian Hickson wrote:
> On Tue, 12 Aug 2014, John Barton wrote:
> >
> > See the implemention in es6-module-loader:
> >
> https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/system.js#L117
>
> Ah, fascinating. So basically:
>
> - "normalize" does relati
On Tue, 12 Aug 2014, David Herman wrote:
>
> This is part of the design work we're actively working on. I'd ask you
> to hold off until we have some more information for you. I'll keep you
> posted -- we should have some more details for you soon.
Where is the design work happening? I'd love to
On Tue, 12 Aug 2014, John Barton wrote:
>
> See the implemention in es6-module-loader:
> https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/system.js#L117
Ah, fascinating. So basically:
- "normalize" does relative URL logic based on the current base URL and
the referrer (i.e.
On Aug 12, 2014, at 2:05 PM, Ian Hickson wrote:
> Assume my script is http://example.com/test.js, and assume that there is
> no extra information (nobody has registered any module names or anything
> like that). If I do:
>
> import "a";
> import "./a";
> import "/a";
> import "//exampl
See the implemention in es6-module-loader:
https://github.com/ModuleLoader/es6-module-loader/blob/master/lib/system.js#L117
In traceur we have different code that passes the same tests.
The tests:
https://github.com/google/traceur-compiler/blob/master/test/unit/runtime/System.js
We would map you
Assume my script is http://example.com/test.js, and assume that there is
no extra information (nobody has registered any module names or anything
like that). If I do:
import "a";
import "./a";
import "/a";
import "//example.com/a";
import "http://example.com/a";
...am I supposed
11 matches
Mail list logo