Skip to content

Commit

Permalink
removed console.logs
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanopagliari committed Oct 16, 2022
1 parent bb96e41 commit 145fa8a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "bibnotes",
"name": "BibNotes Formatter",
"version": "0.9.210",
"version": "0.9.211",
"minAppVersion": "0.12.0",
"description": "Plugin to import and format annotations from Zotero.",
"author": "Stefano Pagliari",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bibnotes",
"version": "0.9.210",
"version": "0.9.211",
"description": "Plugin to export and format annotations from Zotero into Obsidian",
"main": "main.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,6 @@ export default class MyPlugin extends Plugin {
")"
selectedEntry.citationInLine = selectedEntry.citationInLine.replace("()", "")
// Replace short and full citation
console.log(Object.keys(selectedEntry))
if (selectedEntry.itemType == "Journal Article") {
selectedEntry.citationShort = selectedEntry.citationInLine +
" " +
Expand Down
2 changes: 0 additions & 2 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export const createAuthorKey = (creators: CreatorArray) => {
if (authorKey.length > 2) {
authorKeyFixed = authorKey[0] + " et al.";
}
console.log(authorKeyFixed)
return authorKeyFixed;
};

Expand Down Expand Up @@ -200,7 +199,6 @@ export const createCreatorList = (
creatorList.push(formatCreatorsName(creator, nameFormat));
}
}
console.log(creatorList)

const creatorListBracket = creatorList.map(makeWiki);

Expand Down

0 comments on commit 145fa8a

Please sign in to comment.