jetheredge/SquishIt — pull request #89 by schourode (2011-10-31 07:12:28+00:00)
Title: BundleCss() and BundleJavaScript() extension methods on HtmlHelper

Adds two simple extension methods to `System.Web.Mvc.HtmlHelper` allowing this:

@Html.BundleCss().Include("...").MvcRender("...")
@Html.BundleJavaScript().Include("...").MvcRender("...")

With this minor change, users will no longer need to explicitly pull in the `SquishIt.Framework` namespace in their views, as `SquishIt.Mvc` now provides entry points as well.

Since the bundle methods actually spit out HTML markup, it seems reasonable that the methods are available on `HtmlHelper` where HTML generating methods typically can be found.