Menu icon Foundation

Coder | Roseville CA

My Posts



My Comments

Bryan Lewis commented on Bryan Lewis's post 10 months

I made a raw.js file with this in it:
module.exports = function(content) {
return content.fn();
}
After that, I included handlebars.js and my handlebars template. Whenever I use a handlebars expression, I put the {{{raw}}} tag around it. 
I hope that helps, if you need more info. Let me know. I can post an example to my github. 

Bryan Lewis commented on Bryan Lewis's post about 1 year

Hey Rafi! Thanks for your assistance! I found a work around with additional markup but... Are you saying something similar to the following should be possible in JS? 
if (Foundation.MediaQuery.atLeast('small only')) {
//code here
}

Bryan Lewis commented on Bryan Lewis's post about 1 year

For those who stumble onto this thread here is the answer to my question. https://github.com/zurb/panini/issues/32 

Bryan Lewis commented on Bryan Lewis's post about 1 year

Thanks for trying it out, I appreciate the thought! :) 

Bryan Lewis commented on Bryan Lewis's post about 1 year

I noticed Panini is only looking to the data directory for it's data after I did a log like this: 
{{#each this}}
{{log this}}
{{/each}}
Is there any way to join my external ajax data with the panini data? 

Posts Followed




Following

    No Content

Followers

My Posts

My Comments

You commented on Bryan Lewis's post 10 months

I made a raw.js file with this in it:
module.exports = function(content) {
return content.fn();
}
After that, I included handlebars.js and my handlebars template. Whenever I use a handlebars expression, I put the {{{raw}}} tag around it. 
I hope that helps, if you need more info. Let me know. I can post an example to my github. 

You commented on Bryan Lewis's post about 1 year

Hey Rafi! Thanks for your assistance! I found a work around with additional markup but... Are you saying something similar to the following should be possible in JS? 
if (Foundation.MediaQuery.atLeast('small only')) {
//code here
}

You commented on Bryan Lewis's post about 1 year

For those who stumble onto this thread here is the answer to my question. https://github.com/zurb/panini/issues/32 

You commented on Bryan Lewis's post about 1 year

Thanks for trying it out, I appreciate the thought! :) 

You commented on Bryan Lewis's post about 1 year

I noticed Panini is only looking to the data directory for it's data after I did a log like this: 
{{#each this}}
{{log this}}
{{/each}}
Is there any way to join my external ajax data with the panini data? 

Posts Followed

Following

  • No Content

Followers