brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

Do not render xray for CSS files #46

Closed thenonameguy closed 10 years ago

thenonameguy commented 10 years ago

Example generated file (with SLIM):

<!--XRAY START 749 /Users/example_user/projects/example_project/app/views/customizations/show.css.slim-->
#header { background-color: #ceefff; }
#header .nav > li > a { color: #fb0; }
<!--XRAY END 749-->

In it's current state this blocks the first rule from being applied.

brentd commented 10 years ago

@thenonameguy Awesome, seems like a good change! Haven't heard of using slim for CSS templates before though - interesting.