Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splitting and adding js file based on pagetype #374

Closed
wants to merge 3 commits into from

Conversation

snamilikonda
Copy link

Pull Request Template

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Checklist

  • [-] The code change is covered by unit tests. I have added tests that prove my fix is effective or that my feature works
  • [-] I have performed end-to-end test locally.
  • [-] New and existing unit tests pass locally with my changes
  • [-] I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • [-] My changes generate no new warnings
  • [-] I used clear names for everything
  • [-] I have performed a self-review of my own code

@snamilikonda snamilikonda marked this pull request as ready for review September 26, 2024 04:08
@snamilikonda snamilikonda requested a review from a team as a code owner September 26, 2024 04:08
var assembly = GetExecutingAssembly();
using (Stream stream = assembly.GetManifestResourceStream(resourceName))
{
using (StreamReader reader = new StreamReader(stream))

Choose a reason for hiding this comment

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

var

var content = await reader.ReadToEndAsync();
stream.Position = 0;
string scriptHash = "";
using (MemoryStream memoryStream = new MemoryStream())

Choose a reason for hiding this comment

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

You can use "var" since the type is on the right side of the assignment.

@snamilikonda
Copy link
Author

Changes for this pr included with additional changes in #375

@snamilikonda snamilikonda deleted the user/snamilikonda/multifileMDAjs branch October 2, 2024 21:56
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