Changeset 15162
- Timestamp:
- 09/07/08 17:23:50 (3 months ago)
- Location:
- dojox/trunk/gfx
- Files:
-
- 4 modified
Legend:
- Unmodified
- Added
- Removed
-
dojox/trunk/gfx/shape.js
r15161 r15162 194 194 } 195 195 // normalize the stroke 196 if(typeof stroke == "string" || dojo.isArray(stroke) ){196 if(typeof stroke == "string" || dojo.isArray(stroke) || stroke instanceof dojo.Color){ 197 197 stroke = {color: stroke}; 198 198 } -
dojox/trunk/gfx/silverlight.js
r15161 r15162 132 132 } 133 133 // normalize the stroke 134 if(typeof stroke == "string" || dojo.isArray(stroke) ){134 if(typeof stroke == "string" || dojo.isArray(stroke) || stroke instanceof dojo.Color){ 135 135 stroke = {color: stroke}; 136 136 } -
dojox/trunk/gfx/svg.js
r15161 r15162 107 107 } 108 108 // normalize the stroke 109 if(typeof stroke == "string" || dojo.isArray(stroke) ){109 if(typeof stroke == "string" || dojo.isArray(stroke) || stroke instanceof dojo.Color){ 110 110 stroke = {color: stroke}; 111 111 } -
dojox/trunk/gfx/vml.js
r15161 r15162 159 159 } 160 160 // normalize the stroke 161 if(typeof stroke == "string" || dojo.isArray(stroke) ){161 if(typeof stroke == "string" || dojo.isArray(stroke) || stroke instanceof dojo.Color){ 162 162 stroke = {color: stroke}; 163 163 }