This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 225669 - Wrong error when mix twig & js
Summary: Wrong error when mix twig & js
Status: RESOLVED DUPLICATE of bug 225442
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 11:55 UTC by Koc
Modified: 2013-02-04 14:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koc 2013-02-03 11:55:10 UTC
7.3 rc1

This code

<script type="text/javascript">
var a = {
  id    : {{ accessToken.user.id }},
	url   : '{{ url('my_route', {'login': accessToken.user.login})|escape('js') }}',
};
</script>

highlighted with errors but it is correct.
Comment 1 Ondrej Brejla 2013-02-03 12:22:49 UTC
Probably wrong in JS...maybe somehow related to issue #225564
Comment 2 Petr Hejl 2013-02-04 14:12:06 UTC

*** This bug has been marked as a duplicate of bug 225442 ***