code: function updateWww (cordovaProject, destinations) {
      shell.rm('-rf', destinations.www);
      shell.mkdir('-p', destinations.www);
      // Copy source files from project's www directory
      shell.cp('-rf', path.join(cordovaProject.locations.www, '*'), destinations.www);
      // Override www sources by files in 'platform_www' directory
      shell.cp('-rf', path.join(destinations.platformWww, '*'), destinations.www);
  
      // If project contains 'merges' for our platform, use them as another overrides
      var merges_path = path.join(cordovaProject.root, 'merges', 'osx');
      if (fs.existsSync(merges_path)) {
          events.emit('verbose', 'Found "merges" for osx platform. Copying over existing "www" files.');
          var overrides = path.join(merges_path, '*');
          shell.cp('-rf', overrides, destinations.www);
      }
  }
docs: Updates platform 'www' directory by replacing it with contents of
  'platform_www' and app www. Also copies project's overrides' folder into
  the platform 'www' folder
  
  @param   {Object}  cordovaProject    An object which describes cordova project.
  @param   {Object}  destinations      An object that contains destination
  paths for www files.