title: $(...).counterUp is not a function WordPress
body: <p>Unsure why <code>$(...).counterUp is not a function</code>.</p>
  
  <ul>
  <li><code>Waypoints</code> is enqueued after <code>Counter-up</code>.</li>
  <li>WP core JQuery is loaded before both of them.</li>
  </ul>
  
  <p><strong>View source ordering:</strong></p>
  
  <pre><code>&lt;script type='text/javascript' src='http://testsite.com/wp-includes/js/jquery/jquery.js?ver=1.12.4-wp'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js?ver=5.2.3'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.js?ver=5.2.3'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>How I'm enqueuing <code>Waypoints</code> and <code>CounterUp</code>:</p>
  
  <pre><code>wp_enqueue_script( 'counterup', 'https://cdnjs.cloudflare.com/ajax/libs/Counter-Up/1.0.0/jquery.counterup.min.js', array(), false, false);
  wp_enqueue_script( 'waypoints', 'https://cdnjs.cloudflare.com/ajax/libs/waypoints/4.0.1/jquery.waypoints.js', array(), false, false);
  </code></pre>
  
  <p><strong>JS being used:</strong></p>
  
  <pre><code>jQuery(document).ready(function($) {
      $('.counter').counterUp({
          delay: 10,
          time: 1000
      });
  });
  </code></pre>
  
  <p>What am I missing here?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Screenshots of where files are loaded:</p>
  
  <p><a href="https://i.stack.imgur.com/6f4eM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6f4eM.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/kAoNA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kAoNA.png" alt="enter image description here"></a></p>
  
  <p>Have also tried pulling <code>counterup</code> via <code>node_modules</code>:</p>
  
  <pre><code>wp_enqueue_script( 'counterup', plugin_dir_url( __FILE__ ) . 'node_modules/counterup/jquery.counterup.min.js' );
  </code></pre>
  
  <p>... Still get the same error message.</p>