docson
docson copied to clipboard
Embedded with empty "type"
This PR fixes a issue where something like frame.contentWindow.postMessage({ id: "docson", action: "load", definitions: definition, type: ""}, "*"); was not working.
Can you provide a case where type would be legitimately set to the empty string? I'm trying to figure out in which cases it could happen, and what is the desired behavior in those cases.