Olivier Goffart
|
aa08ee1148
|
Fix signal connection from JS
Since we do not have persistent handle, I need to find a place to save the
callback, so i save them in a property of the component
|
2020-06-04 12:49:33 +02:00 |
|
Olivier Goffart
|
49d2aec7e2
|
Node: add possibility to add signal handler
Right now, this only works once and then panic the second time
|
2020-06-04 12:49:33 +02:00 |
|
Olivier Goffart
|
5ee09398e8
|
Node: Allow to init properties to value
|
2020-06-03 17:33:45 +02:00 |
|
Olivier Goffart
|
30d61452ba
|
Interpreter and node API: some refactoring towards being able to set properties from JS
|
2020-06-03 17:33:43 +02:00 |
|
Olivier Goffart
|
fd829fc89f
|
Some more refactoring of the interpreter
Move the content of lib.rs to a module so we can have some
kind of public api in the lib.rs
|
2020-06-03 17:33:26 +02:00 |
|
Olivier Goffart
|
0a48252702
|
Interpreter: implement the ComponentVTable properly
with the drop and construct function
|
2020-06-03 17:33:26 +02:00 |
|
Olivier Goffart
|
13c7e0dec8
|
Begin working on a Node API
Currently, the followinf command in the example/nodetest directory works:
npm install ../../api/sixtyfps-node && node main.js
|
2020-06-03 17:33:05 +02:00 |
|