title: Meteor local package array returns empty on method call
body: <p>I have a local package with the following code</p>
  
  <pre><code>@articleSubmitMethodCallbacks = []
  articleSubmitMethodCallbacks.push(addThumbnailOnSubmit)
  </code></pre>
  
  <p>This works and returns an array with a function in.</p>
  
  <p>Then I have a method called <strong>articleInsert</strong></p>
  
  <p>In that method I have the following code</p>
  
  <pre><code>article = articleSubmitMethodCallbacks.reduce(((result,currentFunction)-&gt;
   return currentFunction (result)
  ), article)
  </code></pre>
  
  <p>Now for some reason, every time I call this method, articleSubmitMethodCallbacks stays an empty array, even though before it ran it has the function in it. It somehow gets reset, any idea why this happens?</p>