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

Missing e in function - Tutorial #1110

Closed
voxic opened this issue Jan 20, 2015 · 1 comment
Closed

Missing e in function - Tutorial #1110

voxic opened this issue Jan 20, 2015 · 1 comment

Comments

@voxic
Copy link

voxic commented Jan 20, 2015

Hi

Noticed that there is an error in the code in the tutorial instructions.

https://www.polymer-project.org/docs/start/tutorial/step-1.html

The last code box:

<script>
  var tabs = document.querySelector('paper-tabs');
  tabs.addEventListener('core-select', function() {
    console.log("Selected: " + tabs.selected);
  });
</script>
</body>

Should be:

<script>
    var tabs = document.querySelector('paper-tabs');
    tabs.addEventListener('core-select', function(e) {
      console.log("Selected: " + tabs.selected);
    });
</script>
</body>

/Emil

@ebidel
Copy link
Contributor

ebidel commented Jan 20, 2015

This issue was moved to Polymer/old-docs-site#875

@ebidel ebidel closed this as completed Jan 20, 2015
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

2 participants