-
Notifications
You must be signed in to change notification settings - Fork 46
Overriding entry point path generation
Cezar Cretu edited this page Jan 5, 2015
·
2 revisions
In order to override entry point generation, you can modify RequireJsOptionns.ResolverCollection
using the provided methods, Clear
and Prepend
.
The collection is composed of IEntryPointResolver
instances, with a default one being already provided. On page render, the collection will be cycled through until it receives a non-null
result from one of its items. You can look at the default entry point resolver implementation here.
[Passing values between ASP.NET and JavaScript] (https://github.com/vtfuture/RequireJSDotNet/wiki/Passing-values-between-ASP.NET-and-JavaScript)