Removing null default values from symbolizers. Later, we could consider static setDefaults methods on the constructors. r=ahocevar (closes #2840)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@10770 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2010-09-17 16:32:07 +00:00
parent 38c3a4d4c5
commit bb71632848
8 changed files with 119 additions and 34 deletions
+10
View File
@@ -25,6 +25,16 @@
}
function test_defaults(t) {
t.plan(5);
var symbolizer = new OpenLayers.Symbolizer.Point();
t.ok(symbolizer.label === undefined, "no default label");
t.ok(symbolizer.fontFamily === undefined, "no default fontFamily");
t.ok(symbolizer.fontSize === undefined, "no default fontSize");
t.ok(symbolizer.fontWeight === undefined, "no default fontWeight");
t.ok(symbolizer.fontStyle === undefined, "no default fontStyle");
}
</script>
</head>