Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Wrong JavaScript syntax in a PHP file #62

Open
rgalex2034 opened this issue Mar 22, 2017 · 0 comments
Open

Wrong JavaScript syntax in a PHP file #62

rgalex2034 opened this issue Mar 22, 2017 · 0 comments
Labels

Comments

@rgalex2034
Copy link

If you write JS in a PHP file, the colors for syntax highlight are different.
You get the "=", braces, curly braces and variable names as pink color in anonymous functions.

As an example, write this code with a JS file and a PHP file:
<script> var handler = 3; $(document).ready(function(){ var something = 5; }); </script>

Result:
imagen

@silvestreh silvestreh added the bug label Mar 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants