-
Notifications
You must be signed in to change notification settings - Fork 52
Native modules
forresto edited this page Aug 1, 2012
·
4 revisions
The way that it works, a native node extends https://github.com/meemoo/iframework/blob/master/src/node-box-native-view.js which is just the .inner div of the node's .module div.
This format is close: https://github.com/meemoo/iframework/blob/master/src/nodes/image-combine.js
By making the .inner part of the native node its own Backbone.View we can use backbone view events without conflicting with the whole module's events (like drag).
Using _.defer on the output's send means that loops won't block the ui. (With iframes this was built-in because of postmessage.)
Need to discuss WebAudio API and Meemoo.