Total lines are showing 3 lesser

28 views
Skip to first unread message

manohar s

unread,
Aug 10, 2009, 6:19:25 AM8/10/09
to jsmeter...@googlegroups.com
Hi,

This tools is working great, however I have a small problem. The total "Lines" are always 3 lesser than the actual number!

Anybody had this problem?

Manohar


--
hope is the only thing which keeps us all happy

Noah Peters

unread,
Aug 10, 2009, 8:08:25 PM8/10/09
to jsmeter...@googlegroups.com
Could you post some of the JS that you are checking?  What browser are you using?
--
We know the hard things are possible, we just have to make the easy things easy. -Norman Walsh

manohar s

unread,
Aug 10, 2009, 11:40:54 PM8/10/09
to jsmeter...@googlegroups.com
Hi,

Thanks for the reply.
Here is the sample code snippet:

  var AccountCreationCreatedView = new utils.Class({
   
  /**
     * Defines the name of this class.
     *
     * @property Name
     */
    Name: "AccountCreationCreatedView",
   
    Extends: WizardView,
   
      initialize: function(nextLabel, previousLabel) {
        this._super("Account Creation", nextLabel, previousLabel);
        
        //Account Created header
        var HeadingText = new TextLabel("<b>Account Created</b>");
        HeadingText.setCssBaseName("HeadingTextLabel");        
        this.wizardView.addControl(HeadingText);
        
        //Account Created Details label
        var accountCreatedDetailsLabel = new TextLabel("You have successfully registered and can continue on to the service.");
        this.wizardView.addControl(accountCreatedDetailsLabel);
        
        this.enableNextStep();
    },
   
    onNextStepClick: function() {
        alert("To be continued");
    }
   
});   

There are 31 lines whereas JSMeter shows total lines as 28.  Also the function "initialize" is not shown, If I move this line:

Extends: WizardView,

to the first line, then its working fine!

Could you please fix these in the trunk?

Manohar
http://sqlyog.wordpress.com/

manohar s

unread,
Aug 12, 2009, 12:11:26 AM8/12/09
to jsmeter...@googlegroups.com
Hi,

Is  the bug confirmed? Any updates on this?

Manohar
Reply all
Reply to author
Forward
0 new messages