Myslik/csharp-ember-handlebars — pull request #21 by khalidabuhakmeh (2013-06-24 19:03:10+00:00)
Title: Allow bundle and template paths to be configurable, and compilation is now triggered by whether optimizations are enabled or not.

I created a class called **EmberJs** now, that is basically a static class that users can change the root path to the templates. Also mapping the path no longer depends on HttpContext, which can be fussy at time.

The other change was now the compilation is triggered by whether the user explicitly enables it or not:

BundleTable.EnableOptimizations = false; // or true

This reduces the view code to this:

@Html.RenderEmberTemplates()
@Scripts.Render(EmberJs.BundleNames.App)

This shoudl reduce the complexity of getting setup.

If you tell me where I can get the latest compiler.js and what it takes to put it in I can also send you a pull request for that.