Skip to content

Support more than two fields and custom sort field, get rid of extra object in save options merging#31

Open
justinsilvestre wants to merge 2 commits intorepeat-space:masterfrom
justinsilvestre:master
Open

Support more than two fields and custom sort field, get rid of extra object in save options merging#31
justinsilvestre wants to merge 2 commits intorepeat-space:masterfrom
justinsilvestre:master

Conversation

@justinsilvestre
Copy link

No description provided.

apkg.addCard('card #1 front', 'card #1 back');
apkg.addCard('card #2 front', 'card #2 back', { tags: ['nice', 'better card'] });
apkg.addCard('card #3 with image <img src="anki.png" />', 'card #3 back');
apkg.addCard(['card #1 front', 'card #1 back']);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can do the same without breaking an interface?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@justinsilvestre just take list of params and check last for object type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants