-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue that unnecessary semicolons being added to the address of t…
…he vcf when the addAddress method parameters has empty or null #60
- Loading branch information
1 parent
36f975a
commit 6139892
Showing
2 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,7 @@ vcard | |
.addEmail('[email protected]') | ||
.addPhoneNumber(1234121212, 'PREF;WORK') | ||
.addPhoneNumber(123456789, 'WORK') | ||
.addAddress( | ||
'name', | ||
'extended', | ||
'street', | ||
'worktown', | ||
'state', | ||
'workpostcode', | ||
'Belgium', | ||
) | ||
.addAddress() | ||
.addURL('http://www.jeroendesloovere.be') | ||
.addPhotoURL( | ||
'https://cdn.jsdelivr.net/gh/joaocarmo/vcard-creator@main/lib/assets/sample.jpg', | ||
|