Closed chirvo closed 9 years ago
I'm having the same problem and hacked around it using JavaScript:
body script var bodyEl = document.getElementsByTagName("body")[0];bodyEl.setAttribute("unresolved", ""); bodyEl.setAttribute("touch", "auto");
It would be better if this could done in the Jade template.
Meteor/Spacebars added body attributes support in the latest 1.0.4 — see https://github.com/meteor/meteor/issues/2561. I'll update meteor-jade to support this as well.
Nice. Thanks Maxime! :)
This is fixed in v0.4.3.
Hi there.
First a quick overview:
TL;DR
I'm trying to make this Polymer tutorial along with Meteor: http://www.pubnub.com/blog/creating-a-polymer-chat-app-with-material-design/
The Jade code looks like this:
However that code breaks the app:
Replacing
body(fullbleed, unresolved)
with justbody
makes the compiler work again.Now, when using Jade 1.9.2 from the console I get the proper results without needing to remove the body attributes.
Is there any way to make meteor-jade to fix this like, for example, making meteor-jade use the current jade installation?
Thanks,