Make renderIntent private and add a getter

This commit is contained in:
ahocevar
2013-11-11 22:07:18 +01:00
parent 299d729936
commit 0ed208b710
8 changed files with 24 additions and 13 deletions

View File

@@ -47,7 +47,7 @@ describe('ol.interaction.Select', function() {
describe('#select', function() {
var selectedFeaturesFilter = function(feature) {
return feature.renderIntent == 'selected';
return feature.getRenderIntent() == 'selected';
};
it('toggles selection of features', function() {