meteor-jade
meteor-jade copied to clipboard
The Jade template engine for Meteor/Blaze
I'm wrestling with making a pre-selected option render properly. It seems like the "selected" attribute is somehow filtered out of option tags, even though it is a valid HTML4/5 attribute....
[Template level event binding doesn't work with meteor-jade?](https://github.com/peerlibrary/meteor-blaze-components/issues/113)
I used to include jade inside another with simply `include relative_path_to_jade` But in meteor it throws error
better syntax is class="checked? private?" instead of class="{{#if checked}}checked{{/if}} {{#if private}}private{{/if}}"
I'm new to jade so sorry if this obvious but I've looked into issues/docs and It seems like "components" block in jade just supports text? https://github.com/mquandalle/meteor-jade/blob/master/examples/components.jade it works for text...
JS: ``` Template.nav.helpers({ navItems: function () { return [ { name: "Item1", route: "Item1.show", }, { name: "Item2", route: "Item2.show", }] } }); ``` nav.jade ``` template(name="nav") ul.nav each navItems...
With Meteor 1.2 came a Spacebars upgrade that allows nested sub-expressions. ``` {{asDollars (getArrayObjectKeySum (listActiveSegmentsWithOpportunity this.segment this.opportunity) 'oppMoveRevenue')}} ``` These work fantastic in Spacebar files but do not seem to...
I am trying to bind my angular controller data to my html file with {{track.name}} but I get an error when rendering the page. I uninstalled mquandalle: jade and just...
Dunno if it's bug or not. Consider this code: ``` javascript each items +Template.dynamic(template=../template data=this) ``` It just doesn't work, but if I add some content after all works fine....
``` jade div(data-html='First very long line' + 'Second very long line' + 'Third very long line') ``` Produces only ``.