[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9012) Eclipse complains about jquery minified JS files

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Thu Jun 9 10:23:59 EDT 2011


    [ https://issues.jboss.org/browse/JBIDE-9012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12607520#comment-12607520 ] 

Victor Rubezhny commented on JBIDE-9012:
----------------------------------------

We have no our own editors for javascript (*.js) files. The Eclipse's JavaScript editor does complains on these files. Editing the almost 85k of characters in a single line makes a significant impact on the JavaScript editor's performance. Also cannot re-format these files due to see if there are real syntax errors in the code, because my JVM crashes while I'm trying to edit something.

I tried to disable JavaScript Validation but it doesn't hides/removes error markers at all. Probably these "minified" JS files do not complain ECMAScript compliance level (ECMAScript 3 - is the only choice for JavaScript Editor's Validator - probably it's too strict for these scripts). 

My thought is that we can probably to play on some smaller scripts (if we're able to get some) due to see what causes these Error/Warning to be reported by JavaScript Editor (but I see no reasons why it could be because of our code in this particular case). But it is very hard to deal with the attached scripts because of their size and JVM instability.

If it's proved that these files are correct - the issue is to be reported to BugZilla.

> Eclipse complains about jquery minified JS files
> ------------------------------------------------
>
>                 Key: JBIDE-9012
>                 URL: https://issues.jboss.org/browse/JBIDE-9012
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF
>         Environment: Java 1.6 32-bit Windows 7 64-bit
>            Reporter: Burr Sutter
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M2
>
>         Attachments: jquery-1.5.1.min.js, jquery.tagcanvas.min.js, minified_JS_error.png
>
>
> See screenshot & attached files

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list