vtfuture/RequireJSDotNet — pull request #47 by pdeffendol (2014-12-17 16:30:54+00:00)
Title: Allow a fallback if no view-specific entry point exists

Currently the RequireJS HTML Helper produces no output if a view-specific entry point script (e.g. Controllers/Home/index.js) is not found. This extends the script path to fall back to a global entry point, which defaults to "app-global".

The module name of the global entry point can be defined when calling the helper:

```csharp
@Html.RenderRequireJsSetup(new RequireRendererConfiguration
{
RequireJsUrl = Url.Content("~/Scripts/require.js"),
BaseUrl = Url.Content("~/Scripts/"),
FallbackEntryPoint = "app-global",
}
```