Andrew Davey

Results 18 issues of Andrew Davey

HTML templates can be converted into JavaScript. These can then be combined with other regular scripts. This means less HTML page bloat from inline template blocks. This makes `HtmlTemplateBundle` redundant,...

Feature Request

Dealing with streams is a pain really. It makes implement `IAssetTransformer` hard. Changing assets to be string-based makes things much simpler.

Feature Request

e.g. ``` border-radius: 5px; ``` becomes ``` border-radius: 5px; -moz-border-radius: 5px; ``` etc

Feature Request

JavaScript libraries such as jQuery UI require CSS to render correctly. So perhaps allow a JS file to reference a CSS file. Then the page only needs to reference the...

Knapsack adds `Html.RenderScripts()` and `Html.RenderStylesheetLinks()`. These are returning IHtmlString and used like `@Html.RenderScripts()` This differs from the MVC helpers, such as `@Html.Partial("name")` vs `@{ Html.RenderPartial("name"); }` Should Knapsack's API be...

Allow external references, such as: `Html.ReferenceScript("http://platform.twitter.com/widgets.js");` Naive implementation can just put them after all internal scripts. A better implementation will allow dependencies to be taken on the external script, meaning...

I wrote a lot of unit tests for Knapsack on the train without access to Moq, so there are many hand-rolled mock objects in there! Let's refactor the code to...

When using [KnockoutJS](http://knockoutjs.com/), it's common to have a lot of HTML templates. I find these easier to maintain as individual files. Let's find a way to make Knapsack package the...