var oli = {};
oli.name = "ca998"
oli.schema = "org.clothocad.model.Oligo"
then type oli, you get:
org.clothocad.model.Oligo
I think it should println the JSON (a clotho.get) or invoke an editor (a clotho.edit). It should behave the same as if you referenced a sharable by it's name, which currently means to println it. Also, not all javascript objects would have schemas and thus you could not construct the sharable editor. They should be the same to avoid complexity, so it should be JSON.
Pasting in the UUID of a sharable also currently dumps JSON.
Ideally it would also pretty-print the json instead of a flow. It is hard to read.
If you say:
var oli = {}; oli.name = "ca998" oli.schema = "org.clothocad.model.Oligo"
then type oli, you get:
org.clothocad.model.Oligo
I think it should println the JSON (a clotho.get) or invoke an editor (a clotho.edit). It should behave the same as if you referenced a sharable by it's name, which currently means to println it. Also, not all javascript objects would have schemas and thus you could not construct the sharable editor. They should be the same to avoid complexity, so it should be JSON.
Pasting in the UUID of a sharable also currently dumps JSON.
Ideally it would also pretty-print the json instead of a flow. It is hard to read.