Bug 163668 - The properties: Vector x and Vector y are not defined in the VectorView Class
Summary: The properties: Vector x and Vector y are not defined in the VectorView Class
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: scripting (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-10 00:22 UTC by Yiwen Mao
Modified: 2008-06-11 21:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiwen Mao 2008-06-10 00:22:09 UTC
Version:           1.7.0 (using KDE 4.0.1)
Installed from:    Unspecified
Compiler:          Fedora 6 
OS:                Linux

The properties: Vector x and Vector y are not defined in the VectorView Class

//Use two vectors to construct a vector view:
 kst> a=new Array();
kst> for(var i=0;i<100;i++){a.push(i)};
100
kst> x=new Vector(a)
Vector
kst> y=new Vector(a);
Vector
kst> v=new VectorView(x,y)
VectorView

//get the x vector of v
kst> v.x
undefined

//get the y vector of v
kst> v.y
undefined

v.x and v.y are not defined and therefore can not be used.
e.g
kst> v.x.length
Error: TypeError: Undefined value
Comment 1 Andrew Walker 2008-06-11 21:02:55 UTC
SVN commit 819684 by arwalker:

BUG:163668 Correctly define VectorView property names in the javaScript documentation

 M  +1 -0      bind_vectorview.cpp  
 M  +4 -4      bind_vectorview.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=819684