PolycodeViewBase.js 623 B

12345678910111213141516171819
  1. function PolycodeViewBase() {
  2. Object.defineProperties(this, {
  3. 'resizable': { enumerable: true, configurable: true, get: PolycodeViewBase.prototype.__get_resizable, set: PolycodeViewBase.prototype.__set_resizable}
  4. })
  5. }
  6. PolycodeViewBase.prototype.__get_resizable = function() {
  7. return Polycode.PolycodeViewBase__get_resizable(this.__ptr)
  8. }
  9. PolycodeViewBase.prototype.__set_resizable = function(val) {
  10. Polycode.PolycodeViewBase__set_resizable(this.__ptr, val)
  11. }
  12. Duktape.fin(PolycodeViewBase.prototype, function (x) {
  13. if (x === PolycodeViewBase.prototype) {
  14. return;
  15. }
  16. Polycode.PolycodeViewBase__delete(x.__ptr)
  17. })