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

Integrates tern-browser-extension in the demo #36

Open
angelozerr opened this issue Aug 11, 2015 · 1 comment
Open

Integrates tern-browser-extension in the demo #36

angelozerr opened this issue Aug 11, 2015 · 1 comment
Labels

Comments

@angelozerr
Copy link

I have seen, that you have a demo with html (mode). In this demo if you type some javascript anywhere (inside html content), altough js must be inserted inside script tag:

<html>
var s = "";

<script>
  // here completion for s is available, although it should not.
</script>

</html>

To fix this problem you could integrates https://github.com/angelozerr/tern-browser-extension which parse your HTML with SAX and extract JS code from script tags. It gives you more features than completion for HTML elements ids, CSS selectors and event types.

@Sevin777
Copy link
Owner

Thats pretty cool, but currently I'm working on a lot of other things that are a higher priority

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

No branches or pull requests

2 participants