facebook

MyEclipse 9 jQuery Support

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #317585 Reply

    support-swapna
    Moderator

    hind01,

    The fix will be available in MyEclipse 9.1 version which will be out in 2 weeks time.
    Sorry for the delay.

    #317921 Reply

    support-swapna
    Moderator

    hind01,

    MyEclipse 9.1 has been released. Here is the link to update to it :
    https://www.genuitec.com/forums/topic/myeclipse-9-1-is-now-available/

    Let us know how it works for you.

    #318034 Reply

    krish.sahoo
    Member

    @support-swapna wrote:

    hind01,

    MyEclipse 9.1 has been released. Here is the link to update to it :
    https://www.genuitec.com/forums/topic/myeclipse-9-1-is-now-available/

    Let us know how it works for you.

    I am still having problems. It gives errors on syntax

    $(function() {
    $(‘#defaultPopupDatepicker’).datepick({
    showOn : ‘both’,
    buttonImageOnly : true,
    buttonImage : ‘../resources/datePicker/calendar-blue.gif’,
    showBigPrevNext : true,
    showStatus : true
    });
    });

    error: The function $(HTMLDocument) is undefined

    It also shows syntax errors in the “jquery-1.3.2.min.js” file that I have downloaded

    #318038 Reply

    support-swapna
    Moderator

    krish.sahoo,

    I could not replicate the issue at my end on MyEclipse 9.1. I checked with both the code snippet and the jquery-1.3.2.min.js file.

    Can you answer some more questions for me to understand the issue better ?

    1) How did you update to MyEclipse 9.1 ? Is it through Pulse/All-In-Installer/Archived Update Site or updated from the MyEclipse Configuration Center ? Also share the build id from Help > About MyEclipse Enterprise Workbench > Build Id.

    2) Can you attach a screenshot of Window > Preferences > MyEclipse > Files and Editors > JavaScript. ?
    Refer to https://www.genuitec.com/forums/topic/troubleshooting-how-to-upload-attachments-on-forum/ on how to upload attachments to forums.

    #318233 Reply

    everZ
    Member

    I just upgraded from 9.0 to 9.1. The issue still exists.

    #318234 Reply

    everZ
    Member

    I think I should give more info.

    I upgraded to 9.1 by pulse. The build id is 9.1-20110701.
    The jquery is jquery-1.5.2.js.. The error is:
    syntax error on token “undefined”

    Best,

    Everett

    #318240 Reply

    support-swapna
    Moderator

    everZ ,

    Regarding the error on token ‘undefined’ , according to JSDT validator it is right in this case i.e using “undefined” as function parameter name is incorrect. Thats why it throws error. Is this error hindering you from displaying the pages correctly when it runs?

    #318259 Reply

    everZ
    Member

    No, the form works fine. The only issue is that there is a red “x” for the project and its related folder.

    Best,

    Everett

    #318285 Reply

    support-swapna
    Moderator

    everZ ,

    The red ‘X’ is due to the JSDT validator rules. I am afraid we cannot do anything about it at this point, as it is valid rule in terms of the JSDT validator. I can only suggest you to ignore it.

    Hope this helps.

    #318385 Reply

    Unfortunately just ignoring it isn’t a good issue. We’re trying to make sure the project doesn’t have any errors, and if we start ignoring the red flag on the project, we’re sure to miss something. We need a fix or workaround other than “ignore the thing that tells you core code is broken”

    Some options would be:

    1) Make MyEclipse more compatible with what JQuery is doing – for example make your rule recognize the jQuery library and not report that error

    2) fix the rule – It’s not clear that it’s actually correct

    3) Have a discussion with the jQuery guys and find a solution that is JDST compatible and get them to update their code

    4) Make a way to selectively ignore such issues on a file basis so that we can flag what is essentially a false positive

    or anything else like that. Simply living with it is not a good option.

    #318390 Reply

    support-swapna
    Moderator

    ahicken,

    We apologize for the inconvenience caused. I have escalated your suggestions to the dev team.

    Do let us know if you have any other issues.

    #320140 Reply

    Ramin
    Member

    Regarding the three errors with jquery, the below link clearly explains the issue but unfortunately offers no solution. You can just exclude it from validation.

    http://forum.jquery.com/topic/3-syntax-errors-found-in-jquery-js-in-rad-7-5-eclipse-ganymede

    #320152 Reply

    Glen Ihrig
    Member

    Hey guys,

    Disclaimer: I’m working with ME4S 9.1 on a Mac OS X 10.5.8, this info may not apply to your circumstance.

    Unfortunately, ME JavaScript support, especially validation, leaves a lot to be desired…

    In my experience, disabling JavaScript validation is confused by having at least three different disable options, only one of which actually works.

    The working feature is accessed at:

    Preferences > MyEclipse > Validation > JavaScript validator … Clear both check boxes.

    This will trigger a full project rebuild, after which, JavaScript validation will be globally disabled.

    Hope you find this helpful.

    -Glen

Viewing 13 posts - 16 through 28 (of 28 total)
Reply To: MyEclipse 9 jQuery Support

You must be logged in to post in the forum log in