updated unit tests with new shadow API

This commit is contained in:
Eric Rowell
2012-12-31 10:46:23 -08:00
parent 206f7bf8d0
commit 356661ecff
2 changed files with 12 additions and 18 deletions

View File

@@ -15,12 +15,10 @@ Test.Modules.PATH = {
fill: '#ccc', fill: '#ccc',
stroke: '#333', stroke: '#333',
strokeWidth: 2, strokeWidth: 2,
shadow: { shadowColor: 'black',
color: 'black', shadowBlur: 2,
blur: 2, shadowOffset: [10, 10],
offset: [10, 10], shadowOpacity: 0.5,
opacity: 0.5
},
draggable: true draggable: true
}); });
@@ -90,12 +88,10 @@ Test.Modules.PATH = {
fill: '#fcc', fill: '#fcc',
stroke: '#333', stroke: '#333',
strokeWidth: 2, strokeWidth: 2,
shadow: { shadowColor: 'maroon',
color: 'maroon', shadowBlur: 2,
blur: 2, shadowOffset: [10, 10],
offset: [10, 10], shadowOpacity: 0.5,
opacity: 0.5
},
draggable: true draggable: true
}); });

View File

@@ -56,12 +56,10 @@ Test.Modules.STAR = {
stroke: 'blue', stroke: 'blue',
strokeWidth: 5, strokeWidth: 5,
lineJoin: "round", lineJoin: "round",
shadow: { shadowColor: 'black',
color: 'black', shadowBlur: 10,
blur: 10, shadowOffset: [20, 20],
offset: [20, 20], shadowOpacity: 0.5,
opacity: 0.5
},
draggable: true draggable: true
}); });