title: Using axios.all() and axios.spread() "can't find variable" method error
body: <p>I am trying to create a program that runs multiple axios requests to get data for a chart, and waits for them all to finish before pulling that data into a chart. This is some of my current code:</p>
  
  <pre><code>minBugs() {
    return (
      axios({
        responseType: 'json',
        auth: {
          username: '&lt;username&gt;',
          password: '&lt;password&gt;'
        }
      })
      .get('&lt;url&gt;'));
  }
  
  normBugs() {
    return (axios({
      responseType: 'json',
      auth: {
        username: '&lt;username&gt;',
        password: '&lt;password&gt;'
      }
    }).get('&lt;url&gt;'));
  }
  
  componentDidMount() {
    axios.all([minBugs(), normBugs()])
      .then(axios.spread(function(a, b) {
        //manipulate data 
      }))
      .catch(message =&gt; console.log('Axios exception: ', message));
  }
  </code></pre>
  
  <p>When I try to run it, it gives me the following error:</p>
  
  <pre><code>ReferenceError: Can't find variable: minBugs
  </code></pre>
  
  <p>Any ideas why? Thank you!</p>