Allow sao classes to use javascript properties
issue8109 review60561002
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Allow sao classes to use javascript properties
|
||||
* Improve layout of CSV import/export
|
||||
* Add support for height and width on notebook
|
||||
* Use tab key for tab navigation
|
||||
|
||||
+2
-1
@@ -125,7 +125,8 @@ var Sao = {};
|
||||
ClassConstructor._super = Parent.prototype;
|
||||
if (props) {
|
||||
for (var name in props) {
|
||||
ClassConstructor.prototype[name] = props[name];
|
||||
Object.defineProperty(ClassConstructor.prototype, name,
|
||||
Object.getOwnPropertyDescriptor(props, name));
|
||||
}
|
||||
}
|
||||
return ClassConstructor;
|
||||
|
||||
Reference in New Issue
Block a user