Hello J.
If your public espace referenced screen elements of your private espace, then this is expected. The screen elements, like webblocks, themes and such, will result in links to their resources (js, css, etc). So when your public espace references the private espace screen elements, you'll have links in your public espace pages, to the private espace resources.
If you need to split the espaces into public and private, but reuse code, stick the references to logic and datamodel only. If you need to reuse screen elements, create a third global espace, referenced by both public and private.
Hope this helps.
Cheers
If your public espace referenced screen elements of your private espace, then this is expected. The screen elements, like webblocks, themes and such, will result in links to their resources (js, css, etc). So when your public espace references the private espace screen elements, you'll have links in your public espace pages, to the private espace resources.
If you need to split the espaces into public and private, but reuse code, stick the references to logic and datamodel only. If you need to reuse screen elements, create a third global espace, referenced by both public and private.
Hope this helps.
Cheers