No need for variable chaining here.

This commit is contained in:
Jürg Lehni 2011-06-03 10:59:20 +01:00
parent 4e5e3c9bfd
commit 3ef55b2b4e

View file

@ -23,13 +23,14 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
// 'strokeCap', 'strokeJoin', 'miterLimit', 'dashOffset','dashArray',
// 'strokeOverprint', 'fillColor', 'fillOverprint'],
var keys = ['strokeColor', 'strokeWidth', 'strokeCap', 'strokeJoin',
'miterLimit', 'dashOffset','dashArray', 'fillColor'],
strokeFlags = {
strokeWidth: true,
strokeCap: true,
strokeJoin: true,
miterLimit: true
};
'miterLimit', 'dashOffset','dashArray', 'fillColor'];
var strokeFlags = {
strokeWidth: true,
strokeCap: true,
strokeJoin: true,
miterLimit: true
};
var fields = {
beans: true,