facebook

JavaScript Validation Question

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #248305 Reply

    berniedurfee
    Member

    When I use an alert() or other JavaScript object, I get messages like the following…

    Declaration of variable alert was not found in function functionXYZ or enclosing scope

    …also when I reference global variables and external objects. How can I resolve these validation errors?

    Thanks,
    Bernie

    #248342 Reply

    Greg
    Member

    Bernie,

    Right now our validator flags these standard methods as unknown methods. So with the current release, there is no way around that message. However, in future releases we are going to be improving the validation and code-completion to understand common javascript functions.

    #252970 Reply

    caryp
    Member

    I have the same problem with other implicit javascript browser objects like Document and Window

    Fixing this would be sweet.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JavaScript Validation Question

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