title: ShouldStopExecution code breaking codepen on deployment
body: <p>I have a pen that works fine in codepen.</p>
  
  <p><a href="https://codepen.io/Teeke/pen/qBbdydR" rel="nofollow noreferrer">https://codepen.io/Teeke/pen/qBbdydR</a></p>
  
  <p>When I try and deploy this code to a codepen project or surge, the carousel breaks and doesn’t display the pictures.</p>
  
  <p>I have isolated three lines of code causing problems:</p>
  
  <pre><code>  for (var i = 0; i &lt; base.$items.length; i++) {if (window.CP.shouldStopExecution(0)) break;
   for (var i = 0; i &lt; base.length; i++) {if (window.CP.shouldStopExecution(1)) break;
   for (var i = 0; i &lt; base.length; i++) {if (window.CP.shouldStopExecution(2)) break;
  </code></pre>
  
  <p>I have tried commenting out the if clause:</p>
  
  <pre><code> for (var i = 0; i &lt; base.$items.length; i++);// {if (window.CP.shouldStopExecution(0)) break;
  </code></pre>
  
  <p><a href="https://codepen.io/Teeke/pen/rNxVrOO" rel="nofollow noreferrer">https://codepen.io/Teeke/pen/rNxVrOO</a></p>
  
  <p>But the carousel pics still don’t appear on a surge, or in a codepen project. </p>
  
  <p>If I copypaste the code to another pen, the slider will work for 5-10 seconds, but when I refresh the page, the pics disappear. </p>
  
  <p>How can the pics be appearing for only a few seconds?</p>