Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Easily register handlebars partials as all views in the path whose name is lead by an underscore. In the example below, /views/_log_in_form and /views/_sign_up_form would be registered as partials logInForm and SignUpForm, respectively.

var view_partials = require('./lib/view_partials')
	, partial_path = __dirname + '/views';

view_partials.registerPartials(partial_path);

About

A helper for registering handlebars view partials for a given path

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages