title: Override settings within my plugin, use variable or assign to window
body: <p>i have started to code my own plugin's for the company I work for, currently if something want's to change the settings they must create an instance of he plugin and define their settings.</p>
  
  <p>Quick example:</p>
  
  <pre><code>var icons = new icons({
    header: "ui-icon-plus",
    activeHeader: "ui-icon-minus"
  });
  </code></pre>
  
  <p>Now some of these plugins may become global and always be active, so I was thinking to save needing to create an instance of the plugin, as it will already be there, instead just add a global object which the plugin will check for.</p>
  
  <p>But should I simply do <code>var plugin_settings = {};</code> <strong>OR</strong> assign the object to my window <code>window.plugin_settings = {};</code>.</p>