Explore, learn, teach and let's get inspired together.
The freshest insight, code sample, epiphany and never-ending innovations from the minds of students and masters.

...

Code Snippets - HandleBars.js Helpers - ONE

2015-06-25 : 18:00

what Handlebars helper for getting the first non empty variable or object property. Handlebars is an awesome HTML templating language. For more information on Handlebars and its awesomeness, check out the main site of Handlebars. why Well... Because sometimes you could have more than one properties you want to check against and going the route of "if" and "else" may not be the most efficient method of checking against multiple properties. It also allows for a virtually unlimited amount of arguments. how Fork it on GitHub's Gist That's all folks... for...

PhilleepEdit Webmaster

 
Philleep Florence LLC

This unknown unknown does not support some features required to view Philleep Florence LLC. Please download a newer unknown Browser.

 
 
Philleep Florence LLC
 
Philleep Florence LLC
Image Preview