Rename _ol_style_Style_ to Style

This commit is contained in:
Tim Schaub
2018-01-11 13:22:43 -07:00
parent 5f40eec148
commit 4f4c90fc20
80 changed files with 420 additions and 420 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
import Feature from '../../../src/ol/Feature.js';
import Point from '../../../src/ol/geom/Point.js';
import _ol_obj_ from '../../../src/ol/obj.js';
import _ol_style_Style_ from '../../../src/ol/style/Style.js';
import Style from '../../../src/ol/style/Style.js';
describe('ol.Feature', function() {
@@ -298,7 +298,7 @@ describe('ol.Feature', function() {
describe('#setStyle()', function() {
var style = new _ol_style_Style_();
var style = new Style();
var styleFunction = function(feature, resolution) {
return resolution;
@@ -355,7 +355,7 @@ describe('ol.Feature', function() {
describe('#getStyle()', function() {
var style = new _ol_style_Style_();
var style = new Style();
var styleFunction = function(resolution) {
return null;
@@ -403,7 +403,7 @@ describe('ol.Feature', function() {
feature.setGeometryName('geom');
var geometry = new Point([1, 2]);
feature.setGeometry(geometry);
var style = new _ol_style_Style_({});
var style = new Style({});
feature.setStyle(style);
feature.set('barkey', 'barval');
@@ -448,7 +448,7 @@ describe('ol.Feature', function() {
});
describe('ol.Feature.createStyleFunction()', function() {
var style = new _ol_style_Style_();
var style = new Style();
it('creates a feature style function from a single style', function() {
var styleFunction = Feature.createStyleFunction(style);