Skip to content

[Bibliontology] Fix variable declarations for Type, LiteralProperty, and CreatorProperty#3594

Merged
AbeJellinek merged 1 commit intozotero:masterfrom
tobiasdiez:patch-1
Apr 1, 2026
Merged

[Bibliontology] Fix variable declarations for Type, LiteralProperty, and CreatorProperty#3594
AbeJellinek merged 1 commit intozotero:masterfrom
tobiasdiez:patch-1

Conversation

@tobiasdiez
Copy link
Copy Markdown
Contributor

Change xyz = function construction to var xyz = function since otherwise xyz would be an implicit global (and this is not valid in strict mode).

…and CreatorProperty

Change `xyz = function` construction to `var xyz = function` since otherwise `xyz` would be an implicit global (and this is not valid in strict mode).
@AbeJellinek AbeJellinek merged commit d26041b into zotero:master Apr 1, 2026
1 check failed
@AbeJellinek
Copy link
Copy Markdown
Member

Well, a lot of stuff translators do isn't valid in strict mode :) This code is from ~2010! Anyway, no harm in it, so I've merged but without the lastUpdated bump so it won't be pushed until we make further changes.

@tobiasdiez
Copy link
Copy Markdown
Contributor Author

Thanks for the merge!

@tobiasdiez tobiasdiez deleted the patch-1 branch April 1, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants