goog.require('ol.FeatureOverlay');
goog.require('ol.Map');
goog.require('ol.View2D');
goog.require('ol.interaction');
goog.require('ol.interaction.Select');
goog.require('ol.layer.Tile');
goog.require('ol.layer.Vector');
goog.require('ol.source.GeoJSON');
goog.require('ol.source.MapQuest');
goog.require('ol.style.Fill');
goog.require('ol.style.Stroke');
goog.require('ol.style.Style');

var raster = new ol.layer.Tile({
  source: new ol.source.MapQuest({layer: 'sat'})
});

var unselectedStyle = [new ol.style.Style({
  fill: new ol.style.Fill({
    color: 'rgba(255,255,255,0.25)'
  }),
  stroke: new ol.style.Stroke({
    color: '#6666ff'
  })
})];

var selectedStyle = [new ol.style.Style({
  fill: new ol.style.Fill({
    color: 'rgba(255,255,255,0.5)'
  })
})];

var vector = new ol.layer.Vector({
  source: new ol.source.GeoJSON({
    projection: 'EPSG:3857',
    url: 'data/geojson/countries.geojson'
  }),
  styleFunction: function(feature, layer) {
    return unselectedStyle;
  }
});

var select = new ol.interaction.Select({
  featureOverlay: new ol.FeatureOverlay({
    styleFunction: function(feature, layer) {
      return selectedStyle;
    }
  })
});

var map = new ol.Map({
  interactions: ol.interaction.defaults().extend([select]),
  layers: [raster, vector],
  renderer: 'canvas',
  target: 'map',
  view: new ol.View2D({
    center: [0, 0],
    zoom: 2
  })
});

@@ -936,37 +936,42 @@
 nction(feature, 
-layer
+resolution
 ) %7B%0A    return u
@@ -1115,21 +1115,26 @@
 eature, 
-layer
+resolution
 ) %7B%0A    

Clarify the style function signature