mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-24 13:13:44 +00:00
Update parser.js
modified test.
This commit is contained in:
parent
cf1aa0049a
commit
93aafb9d7a
1 changed files with 3 additions and 1 deletions
|
|
@ -188,7 +188,9 @@
|
|||
|
||||
var expectedObject = {
|
||||
'fill': 'rgba(100,200,50,0.2)',
|
||||
'stroke': 'rgba(0,128,0,0.5)'
|
||||
'stroke': 'rgba(0,128,0,0.5)',
|
||||
'fillOpacity': 0.2,
|
||||
'strokeOpacity': 0.5
|
||||
};
|
||||
deepEqual(fabric.parseAttributes(element, fabric.Path.ATTRIBUTE_NAMES), expectedObject);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue