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

Element ID shorthand breaks in IE #12

Open
randallb opened this issue Feb 29, 2012 · 0 comments · Fixed by #31
Open

Element ID shorthand breaks in IE #12

randallb opened this issue Feb 29, 2012 · 0 comments · Fixed by #31

Comments

@randallb
Copy link

mauricemach/coffeekup#96
from @hankmander

the coffekup code:
div "#my_id", ->
gives:

instead of giving the element an id it gives the element a class that starts with a '#'. However, it works if you do this instead: div id: "register_interest", ->

giving elements classes ( div ".my_id", -> ) works as expected though.

NOTE. This only occurs when client side rendering a template in Internet explorer 7. Might apply to other versions of IE as well.

Edit: version 0.3.1 of coffeekup and 1.1.2 of coffeescript used

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 a pull request may close this issue.

1 participant