title: How to fix DeprecationWarning: 'root' is deprecated, use 'global'
body: <p>I tried to open a new window in node webkit but in the background console it throws the following error:</p>
  
  <blockquote>
    <p>DeprecationWarning: 'root' is deprecated, use 'global'</p>
  </blockquote>
  
  <p>I am using NWJS v0.15.3 but this problem is not mentioned in their known issues.</p>
  
  <p>Below is my sample code:</p>
  
  <pre><code>var newWin = nw.Window.open('app/newWin/newWin.html', {
      new_instance: true
  }, function () {
      // opened
      console.log("opened");
  });
  </code></pre>