jedfoster / SassMeister

The Sass playground
http://sassmeister.com
199 stars 25 forks source link

Enable parsing of @imports that are not on a new line #92

Closed jedfoster closed 10 years ago

jedfoster commented 10 years ago

The app currently cannot parse this correctly:

$a:0;@import "SassyJSON";

(Per #85)

The algorithm that parses Sass input for @imports assumes that @import will be on a new line, not concatenated with other code.

jedfoster commented 10 years ago

This is an odd edge case that should never occur in the first place—we're using a pre-processor, FFS! White-space is our friend.