jorendorff / js-loaders

Pseudoimplementation of the proposed ES6 module loaders.
54 stars 7 forks source link

Allow backtracking below baseURL #43

Closed guybedford closed 10 years ago

guybedford commented 10 years ago

It has been useful in RequireJS to allow module names to backtrack below the baseURL. I have allowed this in the ES6-Module-Loader as well.

For example:

  System.baseURL = "/js";
  System.import(['app', '../settings']);
guybedford commented 10 years ago

Sorry, it appears this is the case.... I just wasn't reading it correctly.