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

bug: conditional comments don't work #80

Open
ghost opened this issue Mar 23, 2014 · 1 comment
Open

bug: conditional comments don't work #80

ghost opened this issue Mar 23, 2014 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 23, 2014

I try to compile following:
/ [if lt IE9] %script{src: "http://html5shiv.googlecode.com/svn/trunk/html5.js"}

but I have a syntaxError.
If I really have a syntax problem, please, give me an advice to solve this.

Here error message is:

SyntaxError: Unexpected identifier
at Function. (D:\Projects\omnigena\node_modules\gulp-haml\node_modules\haml\lib\haml.js:595:29)
at execute (D:\Projects\omnigena\node_modules\gulp-haml\node_modules\haml\lib\haml.js:602:8)
at Function.render (D:\Projects\omnigena\node_modules\gulp-haml\node_modules\haml\lib\haml.js:587:12)
at hamlStream (D:\Projects\omnigena\node_modules\gulp-haml\index.js:15:21)
at wrappedMapper (D:\Projects\omnigena\node_modules\gulp-haml\node_modules\map-stream\index.js:84:19)
at Stream.stream.write (D:\Projects\omnigena\node_modules\gulp-haml\node_modules\map-stream\index.js:96:21)
at Stream.ondata (stream.js:51:26)
at Stream.EventEmitter.emit (events.js:95:17)
at queueData (D:\Projects\omnigena\node_modules\gulp\node_modules\vinyl-fs\node_modules\map-stream\index.js:43:21)
at queueData (D:\Projects\omnigena\node_modules\gulp\node_modules\vinyl-fs\node_modules\map-stream\index.js:56:14)

Thanks.

@PragmaticEd
Copy link

Seriously? No solution after so many years?
This also happen if you add multi-dashed attributes, like:
meta{'data-test': 123}

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

No branches or pull requests

1 participant