tasks/handlebars.js
function(filepath) {
    var pieces = _.last(filepath.split('/')).split('.');
    var name   = _(pieces).without(_.last(pieces)).join('.'); // strips file extension
    if (name.charAt(0) === '_') {
      name = name.substr(1, name.length); // strips leading _ character
    }
    return name;
  }
function(filepath) {
    var pieces = _.last(filepath.split('/')).split('.');
    var name   = _(pieces).without(_.last(pieces)).join('.'); // strips file extension
    if (name.charAt(0) === '_') {
      name = name.substr(1, name.length); // strips leading _ character
    }
    return name;
  }
function ( filepath ) { var pieces = _ . last ( filepath . split ( '/' ) ) . split ( '.' ) ; var name = _ ( pieces ) . without ( _ . last ( pieces ) ) . join ( '.' ) ; // strips file extension if ( name . charAt ( 0 ) === '_' ) { name = name . substr ( 1 , name . length ) ; // strips leading _ character } return name ; }
filename conversion for partials
filename conversion for partials