You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importing a module now fails with the following error:
ReferenceError: System is not defined
at BrowserTraceurLoader.$__super.normalize (http://google.github.io/traceur-compiler/bin/traceur.js:32280:48)
at InternalLoader.getOrCreateCodeUnit_ (http://google.github.io/traceur-compiler/bin/traceur.js:31942:43)
at http://google.github.io/traceur-compiler/bin/traceur.js:32000:26
at Array.map (native)
at InternalLoader.handleCodeUnitLoaded (http://google.github.io/traceur-compiler/bin/traceur.js:31999:52)
at InternalLoader.module (http://google.github.io/traceur-compiler/bin/traceur.js:31904:14)
at BrowserTraceurLoader.Loader.module (http://google.github.io/traceur-compiler/bin/traceur.js:32163:37)
at WebPageTranscoder.addFileFromScriptElement (http://google.github.io/traceur-compiler/bin/traceur.js:32534:39)
at WebPageTranscoder.addFilesFromScriptElements (http://google.github.io/traceur-compiler/bin/traceur.js:32557:18)
at WebPageTranscoder.selectAndProcessScripts (http://google.github.io/traceur-compiler/bin/traceur.js:32592:14)
It looks like we also need to include BrowserSystem for this to import successfully.
We've been using traceur (on the fly in browser) for a while, but a recent change seems to have stopped modules being imported.
We're doing the same as the example on https://github.com/google/traceur-compiler/wiki/Getting-Started#a-touch-of-class
importing a module now fails with the following error:
It looks like we also need to include BrowserSystem for this to import successfully.
Is this intentional, and if so does the wiki just need updating?
The text was updated successfully, but these errors were encountered: