Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated module wiki / intended use of WebPageTranscoder #2044

Open
bennlich opened this issue Dec 16, 2015 · 0 comments
Open

Outdated module wiki / intended use of WebPageTranscoder #2044

bennlich opened this issue Dec 16, 2015 · 0 comments

Comments

@bennlich
Copy link

Looking at the modules section of the Language Features wiki, there's the following example:

In a Web page you can use script tags with type="module":

<script type="module" src="ProfileView.js"></script>

and the WebPageTranscoder:

 new traceur.WebPageTranscoder(document.location.href).run(function() {
    // things you want to do with the modules.
  });

See for example, runner.html.

I searched for instances of new traceur.WebPageTranscoder in the repo, but couldn't find any uses in which a callback is passed to run(), as in the above example. Is this an outdated example? If so, what should it be replaced with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant