| Summary: | The properties: Vector x and Vector y are not defined in the VectorView Class | ||
|---|---|---|---|
| Product: | [Applications] kst | Reporter: | Yiwen Mao <yiwenv> |
| Component: | scripting | Assignee: | kst |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 1.x | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
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 |
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