mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 13:51:13 +00:00
Interpreter and node API: some refactoring towards being able to set properties from JS
This commit is contained in:
parent
fd829fc89f
commit
30d61452ba
6 changed files with 85 additions and 13 deletions
|
@ -3,8 +3,8 @@ native = require('../native/index.node');
|
|||
|
||||
require.extensions['.60'] = function (module, filename) {
|
||||
var c = native.load(filename);
|
||||
module.exports.show = function () {
|
||||
c.show();
|
||||
module.exports["show"] = function () {
|
||||
c.create().show();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue