Corrected reference to variable frameState - it was misspelled by the previous commit.
viewContext.extent_ is private, so we can't use it directly. Instead, re-calculate the corrected wrapped extent.
When creating the graticule use the extent from the vectorContext instead of the frameState to determine what parallels and meridians should be created. This will allow the graticule to be drawn correctly on views that wrap across the dateline.
Test Merge openlayers master