From 3ef55b2b4e8ddc24983d02743690bd0458403101 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Fri, 3 Jun 2011 10:59:20 +0100 Subject: [PATCH] No need for variable chaining here. --- src/item/PathStyle.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/item/PathStyle.js b/src/item/PathStyle.js index a1c47bd8..ebbc1b19 100644 --- a/src/item/PathStyle.js +++ b/src/item/PathStyle.js @@ -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,