Closed oori closed 8 years ago
This resolves child keys, for example:
{ "browser_action": { "default_popup": "pages/popup.html", "__firefox__browser_style": true }, "options_ui": { "page": "pages/options.html", "__chrome__chrome_style": true }, "__firefox__applications": { "...": "..." } }
Note, if there's a prefix-vendor match, we don't iterate on child keys, it doesn't make sense. if the parent key is already vendor-specific, its children keys don't need to be prefixed.
Thanks, never thought of this use case. This is pretty cool! 👍
This resolves child keys, for example:
Note, if there's a prefix-vendor match, we don't iterate on child keys, it doesn't make sense. if the parent key is already vendor-specific, its children keys don't need to be prefixed.