Javascript code explorer bug (wrong function nesting)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
andrispp
Posts: 21
Joined: Thu Apr 27, 2006 9:00 am

Javascript code explorer bug (wrong function nesting)

Post by andrispp »

See code below. Problem is that outer_foo() function is displayed as child of wrap_foo() function in code explorer panel.

WeBuilder 10.1.0.119

Code: Select all

var wrap_foo = function() {

  var inner_foo = function() {

  }

  bar({ marginLeft: some_variable / 2 }); // THIS DOES NOT WORK

  // bar({ marginLeft: some_variable * 2 }); // THIS WORKS

  // bar({ marginLeft: some_variable }); // THIS WORKS

  /* THIS WORKS:
  bar({
    marginLeft: some_variable / 2
  });
  */

}

var outer_foo = function() {

}
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Javascript code explorer bug (wrong function nesting)

Post by Gatis »

Hi, thank you for taking time to report this problem.
We will do our best to solve it as soon as possible.
Kind regards,
Gatis Avots
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: Javascript code explorer bug (wrong function nesting)

Post by Gatis »

Hi, a fix has been made.
This problem should not happen again with the next update after current version 10.1.0.119.
Kind regards,
Gatis Avots
Post Reply