tasks/compile-handlebars.js
function(filename) {
    if (!filename || typeof filename === 'object') {
      return;
    }

    var match = filename.match(/[^\*]*/);

    if (match[0] !== filename) {
      return match.pop();
    }
  }
function(filename) {
    if (!filename || typeof filename === 'object') {
      return;
    }

    var match = filename.match(/[^\*]*/);

    if (match[0] !== filename) {
      return match.pop();
    }
  }
function ( filename ) { if ( ! filename || typeof filename === 'object' ) { return ; } var match = filename . match ( / [^\*]* / ) ; if ( match [ 0 ] !== filename ) { return match . pop ( ) ; } }
Checks if the input is a glob and if so, returns the unglobbed version of the filename
Checks if the input is a glob and if so returns the unglobbed version of the filename