Changes between Initial Version and Version 1 of Ticket #52, comment 10
- Timestamp:
- Feb 4, 2014, 10:27:43 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #52, comment 10
initial v1 17 17 }}} 18 18 19 Then you don't need to serialize the actual foo and bar functions, only the strings `"foo"` and `"bar"` to look them up in the `functions` object together with some data to pass into them, e.g. `functions["foo"]({x: 123, y:456})` , along with a data object which is whatever data they need. I haven't looked at the patch to give an exact context, but I'm pretty sure whatever you want to do can be solved without serializing functions.19 Then you don't need to serialize the actual foo and bar functions, only the strings `"foo"` and `"bar"` to look them up in the `functions` object together with some data to pass into them, e.g. `functions["foo"]({x: 123, y:456})`. I haven't looked at the patch to give an exact context, but I'm pretty sure whatever you want to do can be solved without serializing functions.