gss / engine

GSS engine
http://gss.github.io
MIT License
2.86k stars 105 forks source link

Stylesheets not parsed correctly when linked in HTML #173

Closed danieldiekmeier closed 9 years ago

danieldiekmeier commented 9 years ago

When I link to the GSS file with <link rel="stylesheet" type="text/gss" href="layout.gss"></link>, it doesn't parse the ^ selector correctly.

I tried to recreate your example: http://codepen.io/thegridgssdocs/pen/JoyMpR

But it only works if I use inline code, and stops working with the exact same code in an external file.

I saw that you only use inline code on your website, is this related to that issue?

Inviz commented 9 years ago

You're right. There was a bug. There's a fix on 2.1.x branch. It's not the reason why we inline our stylesheets, but the other way - it's a part of the reason why we missed that bug in 2.0 release

PatrickSCLin commented 9 years ago

when will 2.1.x release ?

this issue killing me so bad lol

Inviz commented 9 years ago

Sorry, we're caught up with deadlines. To make a release, we need to update site/bring back CI on document repo, all that stuff we dont have time for now. We're accepting community help.

Just use this source. https://rawgit.com/gss/document/ranges2/dist/gss.document.parser.js That's ranges2 branch serverd directly from github.

paulyoung commented 9 years ago

I recommend understanding the limitations with rawgit first or serving it yourself in the meantime.

I think we have some things to figure out about versioning before the next release too.