This prototype structure to get and set are not accepted generating errors. May be you can fix for next. Regards
MyClass.prototype = {
get position(){
return this._position;
},
set position(pos){
this._position = pos;
},
1 Answer, 1 is accepted
0
Hans Kratz
Telerik team
answered on 27 Jul 2010, 08:29 PM
Hello Pierre,
thanks for reporting this. JustCode does indeed not have support for this syntax as it is not part of ECMAScript. Nevertheless since the ECMAScript accessor syntax is not supported by any browser except IE8 and Chrome right now and this syntax is we should support it. I have added an item for this to our issue tracker and tentatively scheduled it for the Q3 release. You will be automatically notified once it is fixed.
Sincerely yours,
Hans Kratz
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items