BlackWolf / Connichiwa

A framework for local multi-device web applications
15 stars 0 forks source link

Introduce constants for messaging #101

Open BlackWolf opened 9 years ago

BlackWolf commented 9 years ago

We should introduce constants for internal message fields and names (e.g. the fields _id, _name,_source,_targeta.so. and message names such as_insert,_loadscript` a.s.o.).

We need to define them in the JS, so native-less remotes can access them. Maybe we can somehow pass them to iOS, or maybe we just duplicate them in iOS and don't care about it?