Minor copy changes

pull/41/head
Pablo Alonso Garcia 7 years ago
parent d35e54859a
commit fef8cb369f

@ -7,22 +7,21 @@
* This field gives information about whether a property is filtered or not. * This field gives information about whether a property is filtered or not.
* *
* A property is filtered if it was activated inside a filter. In the following cartocss * A property is filtered if it was activated inside a filter. In the following cartocss
* code marker-color.filtered will be true because is inside a population filter. * code marker-color.filtered will be true because it's inside a population filter.
* *
* #layer { * #layer {
* maker-width: 20; * maker-width: 20;
* [population > 100] { * [population > 100] {
* marker-color: red; // * marker-color: red; // this property is filtered
* } * }
* } * }
* *
* "zoom" is a special case, and it only should be considered when it's value is not the default. * "zoom" is a special case, and it only should be considered when its value is not the default.
*/ */
var assert = require('assert'); var assert = require('assert');
var Carto = require('../lib/carto/index.js'); var Carto = require('../lib/carto/index.js');
var renderer = new Carto.RendererJS({ strict: true }); var renderer = new Carto.RendererJS({ strict: true });
describe('property.filtered', function () { describe('property.filtered', function () {
it('should be false when the property is not filtered', function () { it('should be false when the property is not filtered', function () {
var style = [ var style = [

Loading…
Cancel
Save