jedfoster / SassMeister

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

Current build returns /gist/null when saving gist #80

Closed Snugug closed 10 years ago

Snugug commented 10 years ago

Everything appears as normal, except when a gist is saved, the URL becomes /gist/null :crying_cat_face: :

Snugug commented 10 years ago

https://gist.github.com/Snugug/e9431f6cedf7a65930b0

Snugug commented 10 years ago

Same result after clearing.

jedfoster commented 10 years ago

What browser/version are you using?

Snugug commented 10 years ago

Chrome 32.0.1700.107, OSX

jedfoster commented 10 years ago

I was finally able to reproduce this. Should have a fix tomorrow.

What's happening is that your Sass, once compiled, doesn't result in any CSS. When you save a gist the app then is trying to submit an empty file to the GitHub API, which results in an error and returns a null ID.

jedfoster commented 10 years ago

Fixed with be1d3b1