Rename {get|set}FeatureId to {get|set}Id

This commit is contained in:
Frederic Junod
2013-09-17 12:50:56 +02:00
parent c0486f6f65
commit 764aacb568
16 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ describe('ol.Feature', function() {
it('can store the feature\'s commonly used id', function() {
var feature = new ol.Feature();
feature.setFeatureId('foo');
expect(feature.getFeatureId()).to.be('foo');
feature.setId('foo');
expect(feature.getId()).to.be('foo');
});
it('will set the default geometry', function() {