Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Invalid CSS in grid-overlay #48

Open
aude opened this issue Mar 12, 2017 · 1 comment
Open

Invalid CSS in grid-overlay #48

aude opened this issue Mar 12, 2017 · 1 comment

Comments

@aude
Copy link

aude commented Mar 12, 2017

The files lib/plugins/remote-debug/overlay-grid/css/grid-overlay-horizontal.css and lib/plugins/remote-debug/overlay-grid/css/grid-overlay-vertical.css contain invalid CSS. It seems like they're meant to be parsed at some point, but at the moment they are distributed out to NPM unparsed.

How to reproduce

$ npm install browser-sync
$ cat node_modules/browser-sync-ui/lib/plugins/remote-debug/overlay-grid/css/grid-overlay-*.css
@meyfa
Copy link
Contributor

meyfa commented Mar 12, 2017

Apparently they're parsed dynamically during execution:

return string.replace(/\{\{(.+?)\}\}/g, function () {

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants