Tag Archives: JavaScript

Cross Project TypeScript Unit Testing – Part 2

Part 1 of this post focused on cross project TypeScript (TS) referencing, this post will focus on how this can be used with Chutzpah to conduct cross project unit testing. Chutzpah is a TS, CoffeeScript and JavaScript unit test runner, with a built in Visual Studio extension and command line runner. In the last post I […]

Cross Project TypeScript Unit Testing – Part 1

This is the first of a two part blog on cross project TypeScript (TS) and unit testing with Chutzpah. This post will focus on the cross project aspect, more specifically how to write Typescript with dependencies over two Visual Studio projects. Let’s consider the following simple example. I have “Project A” which contains a “Scripts/typings” folder […]

Client side error logging using {errorception}

It had not occurred to me that we should be recording our client side errors until I was listening to a talk given by Paul Irish at fluent 2012, and he mentioned a tool called errorception. This got me thinking, how many client side errors are our users really encountering? Could this explain some of […]

A Guide to IE Compatibility View and X-UA-Compatible

Since Internet Explorer (IE) 8 Microsoft have supported a ‘Compatibility View’, allowing users to view web pages as if they are using a lower version of IE, normally IE 7. It appears in the top right of IE 8, 9 and 10, stating that it will make websites designed for older browsers look better. This […]

Automating JS and CSS Versioning

For a very long time we have been telling users, developers, testers and frankly everyone that uses our web application, that they should clear their cache in order to receive the latest version of a JavaScript or Cascading Style Sheet. This is a very poor solution to a common problem, so what are our options? […]