Skip to content

Commit

Permalink
Merge pull request #301 from Lombiq/issue/OSOE-918
Browse files Browse the repository at this point in the history
OSOE-918: Fix all \"Javascript\" spelling
  • Loading branch information
sarahelsaig authored Dec 14, 2024
2 parents 0b153e9 + c68d06c commit d4f9e77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ResourceFilters : IResourceFilterProvider
}
```

## Javascript Module Support
## JavaScript Module Support

The `ScriptModuleResourceFilter` makes it possible to register JS modules in a way that they can be imported by name, so no bundling or importing by URL is necessary. Once you've added it to your service collection (`services.AddAsyncResultFilter<ScriptModuleResourceFilter>();`) you can register modules with the `ResourceManifest.DefineScriptModule(resourceName)` extension method and require them using the `IResourceManager.RegisterScriptModule(resourceName)` extension method.

Expand Down

0 comments on commit d4f9e77

Please sign in to comment.