src/engine/inject/strings.js
function injectStrings (funcs, task) {
  /**
   * Inject a function that returns a string.
   */

  function inject (taskKey) {
    var taskName = task[taskKey]

    if (regexQuoted.test(taskName)) {
      funcs[taskName] = function () {
        return taskName.substr(1, taskName.length - 2)
      }
    }
  }

  Object.keys(task)
    .forEach(inject)
}
function injectStrings (funcs, task) {
  /**
   * Inject a function that returns a string.
   */

  function inject (taskKey) {
    var taskName = task[taskKey]

    if (regexQuoted.test(taskName)) {
      funcs[taskName] = function () {
        return taskName.substr(1, taskName.length - 2)
      }
    }
  }

  Object.keys(task)
    .forEach(inject)
}
function injectStrings ( funcs , task ) { /**
   * Inject a function that returns a string.
   */ function inject ( taskKey ) { var taskName = task [ taskKey ] if ( regexQuoted . test ( taskName ) ) { funcs [ taskName ] = function ( ) { return taskName . substr ( 1 , taskName . length - 2 ) } } } Object . keys ( task ) . forEach ( inject ) }
Inject functions that return strings.

@param {Object} funcs reference
@param {Object} task collection
Inject functions that return strings .