Skip to content

find native implementation from object prototype chain#14

Open
svalaskevicius wants to merge 1 commit intotsa:masterfrom
svalaskevicius:feature/allow-class-inheritance-in-js
Open

find native implementation from object prototype chain#14
svalaskevicius wants to merge 1 commit intotsa:masterfrom
svalaskevicius:feature/allow-class-inheritance-in-js

Conversation

@svalaskevicius
Copy link

The current object might not always have the native implementation
accessible - it might be an "extending" class in js, e.g.:

MyWindow = function(parent) {
    this.prototype = this.__proto__ = new api.QMainWindow(parent);
}
var w = new MyWindow(null);
w.show();

The current object might not always have the native implementation
accessible - it might be an "extending" class in js, e.g.:

    MyWindow = function(parent) {
        this.prototype = this.__proto__ = new api.QMainWindow(parent);
    }
    var w = new MyWindow(null);
    w.show();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants