andrewdavey/cassette — pull request #180 by tomdenny (2012-02-16 01:00:20+00:00)
Title: Support Razor Templates in AddInlineScript

I created an overload to AddInlineScript to support the @

razor template format. It makes for nicer looking code and solves world hunger. Well. I might be using marketing speak there a little bit.

```
@{
ViewBag.Message = "Hello World!";

Bundles.AddInlineScript(@

var foo = 'bar',
bar = 'foo';

alert(@ViewBag.Message + bar + foo);

);
}
```