Skip to content

refactor: Remove NET7_0_OR_GREATER conditions - #12736

Merged
jeromelaban merged 3 commits into
unoplatform:masterfrom
Youssef1313:cleanup-net7
Jun 29, 2023
Merged

jeromelaban merged 3 commits into
unoplatform:masterfrom
Youssef1313:cleanup-net7

Conversation

@Youssef1313

@Youssef1313 Youssef1313 commented Jun 28, 2023 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): closes #

PR Type

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior?

Copilot Summary

🤖 Generated by Copilot at 4ccb183

This pull request simplifies the JavaScript interop code in various files by using the DllImport, JSExport, and JSImport attributes and the NativeMethods class, which are now available without conditional compilation since the project targets .NET 7.0 or higher. It also removes unnecessary conditional compilation directives and string interpolation for JavaScript interop, which improves the readability, maintainability, and performance of the code.

PR Checklist

Please check if your PR fulfills the following requirements:

Other information

Internal Issue (If applicable):

@Youssef1313
Youssef1313 requested review from ebariche and jeromelaban and removed request for ebariche June 28, 2023 04:12
@github-actions github-actions Bot added area/code-generation Categorizes an issue or PR as relevant to code generation platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform labels Jun 28, 2023
@github-actions github-actions Bot removed the area/code-generation Categorizes an issue or PR as relevant to code generation label Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform/wasm 🌐 Categorizes an issue or PR as relevant to the WebAssembly platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants