Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix coffeecup in the browser #31

Merged
merged 2 commits into from
May 26, 2012
Merged

fix coffeecup in the browser #31

merged 2 commits into from
May 26, 2012

Conversation

bobzoller
Copy link
Contributor

I ran into two issues using coffeecup.js in the browser:

first: IE8 improperly rendered ids when using the shortcut syntax, so

div '#foo', 'bar'

rendered

<div class=#foo>bar</div>

(this was an existing bug in CoffeeKup... I think it's actually an improper use of CoffeeScript -- it doesn't strings guarantee String to be enumerable). This closes issue #12.

second: requiring stylus was done without a guard to ensure we're in the node enviroment (or at least one that knows what "require('stylus')" means). This change might be shortsighted -- open to feedback if it is.

--Bob

twilson63 pushed a commit that referenced this pull request May 26, 2012
fix coffeecup in the browser
@twilson63 twilson63 merged commit 7f812a0 into gradus:master May 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Element ID shorthand breaks in IE
2 participants