Vector related exports

This commit is contained in:
Tim Schaub
2013-03-05 18:13:10 +01:00
parent 12bee3178e
commit e1c3faa53e
19 changed files with 116 additions and 70 deletions

View File

@@ -6,7 +6,7 @@ describe('ol.layer.Vector', function() {
it('allows adding features', function() {
var layer = new ol.layer.Vector({
new ol.source.Vector({})
source: new ol.source.Vector({})
});
layer.addFeatures([new ol.Feature(), new ol.Feature()]);
expect(layer.getFeatures().length).toEqual(2);