title: Meteor {{currentUser}} and rendering
body: <p>I have been trying to resolve an issue for awhile with rendering of content and the {{currentUser}} check in meteor. A code snippet is below:</p>
  
  <pre><code>    {{#if currentUser}}
      &lt;div class="sparkline-box side"&gt;
  
        &lt;div class="sparkline-row"&gt;
          &lt;h4 class="gray"&gt;&lt;span&gt;Pending Contract Actions&lt;/span&gt; 25&lt;/h4&gt;
          &lt;div class="sparkline big" data-color="gray"&gt;&lt;!--28,11,24,24,8,20,26,22,16,6,12,15--&gt;&lt;/div&gt;
        &lt;/div&gt;
  
  
        &lt;hr class="divider"&gt;
        &lt;div class="sparkline-row"&gt;
          &lt;h4 class="dark-green"&gt;&lt;span&gt;Outstanding Task Orders&lt;/span&gt; $43.33M&lt;/h4&gt;
          &lt;div class="sparkline big" data-color="darkGreen"&gt;&lt;!--16,20,6,19,25,22,9,13,7,10,15,4--&gt;&lt;/div&gt;
        &lt;/div&gt;
  
        &lt;hr class="divider"&gt;
        &lt;div class="sparkline-row"&gt;
          &lt;h4 class="blue"&gt;&lt;span&gt;Current Month Actions&lt;/span&gt; 45&lt;/h4&gt;
          &lt;div class="sparkline big" data-color="blue"&gt;&lt;!--20,18,21,17,5,7,29,9,8,14,23,8--&gt;&lt;/div&gt;
        &lt;/div&gt;
  
        &lt;hr class="divider"&gt;
  
    &lt;/div&gt;
    {{/if}}
  </code></pre>
  
  <p>With the {{currentUser}} block in place, the text appears, but the sparkline charts do not render in the browser, even when the page is reloaded. If I am not logged in, the text and charts are not visible. The problem is with the rendering of the sparkline charts when wrapped in the {{currentUser}} block. This also happens with other third-party javascript libraries that I am using in the application if wrapped in a {{currentUser}} block. Any thoughts on what may be happening?</p>
  
  <p>Thanks!!</p>