function helper (helperOpts) {
  return function helper (context, blockOpts) {
    blockOpts = blockOpts || context;

    var
      val = blockOpts.fn();

    if (blockOpts.hash.escape) {
      val = escapers[blockOpts.hash.escape](val);
    }

    if (blockOpts.hash.path !== undefined) {
      set(
        helperOpts.target,
        blockOpts.hash.path,
        val
      );
    }
    else helperOpts.target[blockOpts.hash.key] = val;
  };
}
/**
 * Handlebars helper.
 * For manually interacting with handlebars instead of using `extract`.
 */
Handlebars helper.
For manually interacting with handlebars instead of using `extract`.
Handlebars helper . For manually interacting with handlebars instead of using ` extract ` .
function helper (helperOpts) {
  return function helper (context, blockOpts) {
    blockOpts = blockOpts || context;
    var
      val = blockOpts.fn();
    if (blockOpts.hash.escape) {
      val = escapers[blockOpts.hash.escape](val);
    }
    if (blockOpts.hash.path !== undefined) {
      set(
        helperOpts.target,
        blockOpts.hash.path,
        val
      );
    }
    else helperOpts.target[blockOpts.hash.key] = val;
  };
}
function helper ( helperOpts ) { return function helper ( context , blockOpts ) { blockOpts = blockOpts || context ; var val = blockOpts . fn ( ) ; if ( blockOpts . hash . escape ) { val = escapers [ blockOpts . hash . escape ] ( val ) ; } if ( blockOpts . hash . path !== undefined ) { set ( helperOpts . target , blockOpts . hash . path , val ) ; } else helperOpts . target [ blockOpts . hash . key ] = val ; } ; }
Handlebars helper.
Handlebars helper .