src/engine/evalTasks.js
function inject (taskKey) {
    var taskName = task[taskKey]

    try {
      var e = eval(taskName) // eslint-disable-line

      if (typeof e === 'function') {
        funcs[taskName] = e
      } else {
        funcs[taskName] = function () { return e }
      }
    } catch (err) {
      var msg = 'Task not compiled: ' + taskName + ' [' + taskKey + ']' + err
      throw new Error(msg)
    }
  }
function inject (taskKey) {
    var taskName = task[taskKey]

    try {
      var e = eval(taskName) // eslint-disable-line

      if (typeof e === 'function') {
        funcs[taskName] = e
      } else {
        funcs[taskName] = function () { return e }
      }
    } catch (err) {
      var msg = 'Task not compiled: ' + taskName + ' [' + taskKey + ']' + err
      throw new Error(msg)
    }
  }
function inject ( taskKey ) { var taskName = task [ taskKey ] try { var e = eval ( taskName ) // eslint-disable-line if ( typeof e === 'function' ) { funcs [ taskName ] = e } else { funcs [ taskName ] = function ( ) { return e } } } catch ( err ) { var msg = 'Task not compiled: ' + taskName + ' [' + taskKey + ']' + err throw new Error ( msg ) } }
Evaluate a single task and inject it.

@param {String} taskKey
Evaluate a single task and inject it .