Rename _ol_style_Stroke_ to Stroke

This commit is contained in:
Tim Schaub
2018-01-11 13:24:13 -07:00
parent dc6ae2293d
commit f4484455aa
75 changed files with 333 additions and 333 deletions

View File

@@ -18,7 +18,7 @@ import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Icon_ from '../../../../src/ol/style/Icon.js';
import IconAnchorUnits from '../../../../src/ol/style/IconAnchorUnits.js';
import IconOrigin from '../../../../src/ol/style/IconOrigin.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
import Style from '../../../../src/ol/style/Style.js';
import _ol_style_Text_ from '../../../../src/ol/style/Text.js';
import _ol_xml_ from '../../../../src/ol/xml.js';
@@ -1978,7 +1978,7 @@ describe('ol.format.KML', function() {
expect(style.getFill()).to.be(KML.DEFAULT_FILL_STYLE_);
expect(style.getImage()).to.be(KML.DEFAULT_IMAGE_STYLE_);
var strokeStyle = style.getStroke();
expect(strokeStyle).to.be.an(_ol_style_Stroke_);
expect(strokeStyle).to.be.an(Stroke);
expect(strokeStyle.getColor()).to.eql([0x78, 0x56, 0x34, 0x12 / 255]);
expect(strokeStyle.getWidth()).to.be(9);
expect(style.getText()).to.be(KML.DEFAULT_TEXT_STYLE_);
@@ -2049,7 +2049,7 @@ describe('ol.format.KML', function() {
expect(fillStyle.getColor()).to.eql([0x78, 0x56, 0x34, 0x12 / 255]);
expect(style.getImage()).to.be(KML.DEFAULT_IMAGE_STYLE_);
var strokeStyle = style.getStroke();
expect(strokeStyle).to.be.an(_ol_style_Stroke_);
expect(strokeStyle).to.be.an(Stroke);
expect(strokeStyle.getColor()).to.eql([0x78, 0x56, 0x34, 0x12 / 255]);
expect(strokeStyle.getWidth()).to.be(9);
expect(style.getText()).to.be(KML.DEFAULT_TEXT_STYLE_);
@@ -2086,7 +2086,7 @@ describe('ol.format.KML', function() {
expect(style.getFill()).to.be(null);
expect(style.getImage()).to.be(KML.DEFAULT_IMAGE_STYLE_);
var strokeStyle = style.getStroke();
expect(strokeStyle).to.be.an(_ol_style_Stroke_);
expect(strokeStyle).to.be.an(Stroke);
expect(strokeStyle.getColor()).to.eql([0x78, 0x56, 0x34, 0x12 / 255]);
expect(strokeStyle.getWidth()).to.be(9);
expect(style.getText()).to.be(KML.DEFAULT_TEXT_STYLE_);
@@ -2393,7 +2393,7 @@ describe('ol.format.KML', function() {
it('can write an feature\'s stroke style', function() {
var style = new Style({
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#112233',
width: 2
})

View File

@@ -1,7 +1,7 @@
import Graticule from '../../../src/ol/Graticule.js';
import Map from '../../../src/ol/Map.js';
import {get as getProjection} from '../../../src/ol/proj.js';
import _ol_style_Stroke_ from '../../../src/ol/style/Stroke.js';
import Stroke from '../../../src/ol/style/Stroke.js';
import _ol_style_Text_ from '../../../src/ol/style/Text.js';
describe('ol.Graticule', function() {
@@ -54,12 +54,12 @@ describe('ol.Graticule', function() {
var actualStyle = graticule.strokeStyle_;
expect(actualStyle).not.to.be(undefined);
expect(actualStyle instanceof _ol_style_Stroke_).to.be(true);
expect(actualStyle instanceof Stroke).to.be(true);
});
it('can be configured with a stroke style', function() {
createGraticule();
var customStrokeStyle = new _ol_style_Stroke_({
var customStrokeStyle = new Stroke({
color: 'rebeccapurple'
});
var styledGraticule = new Graticule({

View File

@@ -10,7 +10,7 @@ import VectorContext from '../../../../../src/ol/render/VectorContext.js';
import CanvasImmediateRenderer from '../../../../../src/ol/render/canvas/Immediate.js';
import _ol_style_Circle_ from '../../../../../src/ol/style/Circle.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
import Style from '../../../../../src/ol/style/Style.js';
import _ol_style_Text_ from '../../../../../src/ol/style/Text.js';
@@ -43,7 +43,7 @@ describe('ol.render.canvas.Immediate', function() {
sinon.spy(context, 'setImageStyle');
sinon.spy(context, 'setTextStyle');
var fill = new Fill({});
var stroke = new _ol_style_Stroke_({});
var stroke = new Stroke({});
var text = new _ol_style_Text_({});
var image = new _ol_style_Circle_({});
var style = new Style({

View File

@@ -5,12 +5,12 @@ import _ol_render_webgl_CircleReplay_ from '../../../../../src/ol/render/webgl/C
import _ol_render_webgl_circlereplay_defaultshader_ from '../../../../../src/ol/render/webgl/circlereplay/defaultshader.js';
import _ol_render_webgl_circlereplay_defaultshader_Locations_ from '../../../../../src/ol/render/webgl/circlereplay/defaultshader/Locations.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
describe('ol.render.webgl.CircleReplay', function() {
var replay;
var strokeStyle = new _ol_style_Stroke_({
var strokeStyle = new Stroke({
color: [0, 255, 0, 0.4]
});

View File

@@ -14,7 +14,7 @@ import _ol_render_webgl_LineStringReplay_ from '../../../../../src/ol/render/web
import _ol_render_webgl_PolygonReplay_ from '../../../../../src/ol/render/webgl/PolygonReplay.js';
import _ol_style_Circle_ from '../../../../../src/ol/style/Circle.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
import Style from '../../../../../src/ol/style/Style.js';
describe('ol.render.webgl.Immediate', function() {
@@ -24,7 +24,7 @@ describe('ol.render.webgl.Immediate', function() {
style = new Style({
image: new _ol_style_Circle_(),
fill: new Fill(),
stroke: new _ol_style_Stroke_()
stroke: new Stroke()
});
circle = new Circle([0, 0], 5);
line = new LineString([[0, 0], [5, 5]]);

View File

@@ -5,16 +5,16 @@ import MultiLineString from '../../../../../src/ol/geom/MultiLineString.js';
import _ol_render_webgl_LineStringReplay_ from '../../../../../src/ol/render/webgl/LineStringReplay.js';
import _ol_render_webgl_linestringreplay_defaultshader_ from '../../../../../src/ol/render/webgl/linestringreplay/defaultshader.js';
import _ol_render_webgl_linestringreplay_defaultshader_Locations_ from '../../../../../src/ol/render/webgl/linestringreplay/defaultshader/Locations.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
describe('ol.render.webgl.LineStringReplay', function() {
var replay;
var strokeStyle1 = new _ol_style_Stroke_({
var strokeStyle1 = new Stroke({
color: [0, 255, 0, 0.4]
});
var strokeStyle2 = new _ol_style_Stroke_({
var strokeStyle2 = new Stroke({
color: [255, 0, 0, 1],
lineCap: 'square',
lineJoin: 'miter'
@@ -100,7 +100,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
it('triangulates linestrings', function() {
var linestring;
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
color: [0, 255, 0, 1],
lineCap: 'butt',
lineJoin: 'bevel'
@@ -121,7 +121,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
it('optionally creates miters', function() {
var linestring;
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
color: [0, 255, 0, 1],
lineCap: 'butt'
});
@@ -141,7 +141,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
it('optionally creates caps', function() {
var linestring;
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
color: [0, 255, 0, 1]
});
@@ -162,7 +162,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
it('respects segment orientation', function() {
var linestring;
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
color: [0, 255, 0, 1],
lineCap: 'butt',
lineJoin: 'bevel'
@@ -183,7 +183,7 @@ describe('ol.render.webgl.LineStringReplay', function() {
it('closes boundaries', function() {
var linestring;
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
color: [0, 255, 0, 1],
lineCap: 'butt',
lineJoin: 'bevel'

View File

@@ -8,7 +8,7 @@ import _ol_render_webgl_polygonreplay_defaultshader_Locations_ from '../../../..
import LinkedList from '../../../../../src/ol/structs/LinkedList.js';
import RBush from '../../../../../src/ol/structs/RBush.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
describe('ol.render.webgl.PolygonReplay', function() {
var replay;
@@ -16,7 +16,7 @@ describe('ol.render.webgl.PolygonReplay', function() {
var fillStyle = new Fill({
color: [0, 0, 255, 0.5]
});
var strokeStyle = new _ol_style_Stroke_({
var strokeStyle = new Stroke({
color: [0, 255, 0, 0.4]
});

View File

@@ -2,7 +2,7 @@ import {createCanvasContext2D} from '../../../../../src/ol/dom.js';
import Point from '../../../../../src/ol/geom/Point.js';
import _ol_render_webgl_TextReplay_ from '../../../../../src/ol/render/webgl/TextReplay.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
import _ol_style_Text_ from '../../../../../src/ol/style/Text.js';
describe('ol.render.webgl.TextReplay', function() {
@@ -40,7 +40,7 @@ describe('ol.render.webgl.TextReplay', function() {
new Fill({
color: [0, 0, 0, 1]
}),
new _ol_style_Stroke_({
new Stroke({
width: 1,
color: [0, 0, 0, 1],
lineCap: 'butt',
@@ -54,7 +54,7 @@ describe('ol.render.webgl.TextReplay', function() {
new Fill({
color: [255, 255, 255, 1]
}),
new _ol_style_Stroke_({
new Stroke({
width: 1,
color: [255, 255, 255, 1]
}),
@@ -65,7 +65,7 @@ describe('ol.render.webgl.TextReplay', function() {
new Fill({
color: [0, 0, 0, 1]
}),
new _ol_style_Stroke_({
new Stroke({
width: 1,
color: [0, 0, 0, 1]
}),

View File

@@ -13,7 +13,7 @@ import _ol_render_canvas_Replay_ from '../../../../../src/ol/render/canvas/Repla
import _ol_render_canvas_ReplayGroup_ from '../../../../../src/ol/render/canvas/ReplayGroup.js';
import _ol_renderer_vector_ from '../../../../../src/ol/renderer/vector.js';
import Fill from '../../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../../src/ol/style/Stroke.js';
import Style from '../../../../../src/ol/style/Style.js';
import _ol_transform_ from '../../../../../src/ol/transform.js';
@@ -45,11 +45,11 @@ describe('ol.render.canvas.ReplayGroup', function() {
});
style1 = new Style({
fill: new Fill({color: 'black'}),
stroke: new _ol_style_Stroke_({color: 'white', width: 1})
stroke: new Stroke({color: 'white', width: 1})
});
style2 = new Style({
fill: new Fill({color: 'white'}),
stroke: new _ol_style_Stroke_({color: 'black', width: 1, lineDash: [3, 6],
stroke: new Stroke({color: 'black', width: 1, lineDash: [3, 6],
lineDashOffset: 2})
});
fillCount = 0;
@@ -448,7 +448,7 @@ describe('ol.render.canvas.LineStringReplay', function() {
var resolution = 10;
var replay = new _ol_render_canvas_LineStringReplay_(tolerance, extent,
resolution);
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
width: 2
});
replay.setFillStrokeStyle(null, stroke);
@@ -476,7 +476,7 @@ describe('ol.render.canvas.PolygonReplay', function() {
it('returns correct offset', function() {
var coords = [1, 2, 3, 4, 5, 6, 1, 2, 1, 2, 3, 4, 5, 6, 1, 2];
var ends = [7, 14];
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
width: 5
});
replay.setFillStrokeStyle(null, stroke);
@@ -491,7 +491,7 @@ describe('ol.render.canvas.PolygonReplay', function() {
describe('#getBufferedMaxExtent()', function() {
it('buffers the max extent to accommodate stroke width', function() {
var stroke = new _ol_style_Stroke_({
var stroke = new Stroke({
width: 5
});
replay.setFillStrokeStyle(null, stroke);

View File

@@ -10,7 +10,7 @@ import _ol_render_canvas_ReplayGroup_ from '../../../../src/ol/render/canvas/Rep
import _ol_renderer_vector_ from '../../../../src/ol/renderer/vector.js';
import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Icon_ from '../../../../src/ol/style/Icon.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
import Style from '../../../../src/ol/style/Style.js';
import Feature from '../../../../src/ol/Feature.js';
@@ -30,7 +30,7 @@ describe('ol.renderer.vector', function() {
style = new Style({
image: iconStyle,
fill: new Fill({}),
stroke: new _ol_style_Stroke_({})
stroke: new Stroke({})
});
squaredTolerance = 1;
listener = function() {};

View File

@@ -1,7 +1,7 @@
import AtlasManager from '../../../../src/ol/style/AtlasManager.js';
import _ol_style_Circle_ from '../../../../src/ol/style/Circle.js';
import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
describe('ol.style.Circle', function() {
@@ -88,7 +88,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
}),
radius: 5,
@@ -110,7 +110,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -161,7 +161,7 @@ describe('ol.style.Circle', function() {
});
var style2 = new _ol_style_Circle_({
radius: 5,
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -174,7 +174,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -188,7 +188,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -206,7 +206,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -220,7 +220,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -238,7 +238,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -247,7 +247,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -263,7 +263,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -272,7 +272,7 @@ describe('ol.style.Circle', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});

View File

@@ -1,7 +1,7 @@
import AtlasManager from '../../../../src/ol/style/AtlasManager.js';
import _ol_style_RegularShape_ from '../../../../src/ol/style/RegularShape.js';
import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
describe('ol.style.RegularShape', function() {
@@ -122,7 +122,7 @@ describe('ol.style.RegularShape', function() {
radius2: 6,
angle: 1,
snapToPixel: false,
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
}),
rotation: 2,
@@ -149,7 +149,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -210,7 +210,7 @@ describe('ol.style.RegularShape', function() {
});
var style2 = new _ol_style_RegularShape_({
radius: 5,
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -226,7 +226,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -243,7 +243,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -264,7 +264,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -281,7 +281,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3',
lineCap: 'round',
lineDash: [5, 15, 25],
@@ -299,7 +299,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -308,7 +308,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -324,7 +324,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});
@@ -333,7 +333,7 @@ describe('ol.style.RegularShape', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});

View File

@@ -1,18 +1,18 @@
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
describe('ol.style.Stroke', function() {
describe('#clone', function() {
it('creates a new ol.style.Stroke', function() {
var original = new _ol_style_Stroke_();
var original = new Stroke();
var clone = original.clone();
expect(clone).to.be.an(_ol_style_Stroke_);
expect(clone).to.be.an(Stroke);
expect(clone).to.not.be(original);
});
it('copies all values', function() {
var original = new _ol_style_Stroke_({
var original = new Stroke({
color: '#319FD3',
lineCap: 'square',
lineJoin: 'miter',
@@ -32,7 +32,7 @@ describe('ol.style.Stroke', function() {
});
it('the clone does not reference the same objects as the original', function() {
var original = new _ol_style_Stroke_({
var original = new Stroke({
color: [1, 2, 3, 0.4],
lineDash: [1, 2, 3]
});

View File

@@ -3,7 +3,7 @@ import Point from '../../../../src/ol/geom/Point.js';
import Style from '../../../../src/ol/style/Style.js';
import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Circle_ from '../../../../src/ol/style/Circle.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
import _ol_style_Text_ from '../../../../src/ol/style/Text.js';
@@ -13,7 +13,7 @@ describe('ol.style.Style', function() {
color: 'rgba(255, 255, 255, 0.6)'
});
var testStroke = new _ol_style_Stroke_({
var testStroke = new Stroke({
color: '#319FD3',
width: 1
});
@@ -23,7 +23,7 @@ describe('ol.style.Style', function() {
fill: new Fill({
color: '#000'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#fff',
width: 3
})
@@ -51,7 +51,7 @@ describe('ol.style.Style', function() {
image: new _ol_style_Circle_({
radius: 5
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
}),
text: new _ol_style_Text_({
@@ -77,7 +77,7 @@ describe('ol.style.Style', function() {
image: new _ol_style_Circle_({
radius: 5
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
}),
text: new _ol_style_Text_({

View File

@@ -1,5 +1,5 @@
import Fill from '../../../../src/ol/style/Fill.js';
import _ol_style_Stroke_ from '../../../../src/ol/style/Stroke.js';
import Stroke from '../../../../src/ol/style/Stroke.js';
import _ol_style_Text_ from '../../../../src/ol/style/Text.js';
@@ -50,13 +50,13 @@ describe('ol.style.Text', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
}),
backgroundFill: new Fill({
color: 'white'
}),
backgroundStroke: new _ol_style_Stroke_({
backgroundStroke: new Stroke({
color: 'black'
})
});
@@ -81,7 +81,7 @@ describe('ol.style.Text', function() {
fill: new Fill({
color: '#319FD3'
}),
stroke: new _ol_style_Stroke_({
stroke: new Stroke({
color: '#319FD3'
})
});