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

Summary: Wrong error when mix twig & js
Product: javascript Reporter: Koc
Component: EditorAssignee: Petr Pisl <ppisl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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 ***