Skip to content

Commit

Permalink
Fix Attempted to redefine property error on Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
Fatih Erikli committed Feb 8, 2016
1 parent 387d112 commit fa1bbdf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/objects/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ var Text = (function (_Vector) {
'text',
_extends({ style: this.getStyle()
}, this.getObjectAttributes(), {
fontFamily: 'helvetica',
textAnchor: 'middle',
fontSize: object.fontSize,
fontFamily: object.fontFamily }),
Expand Down
1 change: 0 additions & 1 deletion src/objects/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export default class Text extends Vector {
return (
<text style={this.getStyle()}
{...this.getObjectAttributes()}
fontFamily="helvetica"
textAnchor="middle"
fontSize={object.fontSize}
fontFamily={object.fontFamily}>
Expand Down

0 comments on commit fa1bbdf

Please sign in to comment.