Categories
Programming

Combining TypeScript Jasmine and AMD with RequireJS

So TypeScript, Jasmine and RequireJS walk into a bar and the barman says “No specs found”. This isn’t funny. Especially when you are trying to get your tests running! So here is how you get Jasmine 2.x working alongside your TypeScript external modules that you are loading using the AMD pattern, probably using RequireJS. The […]

Categories
Programming

Using RequireJS and Jquery in TypeScript

A common question I have come across on various TypeScript communities is how to use RequireJS to load jQuery. Of course, you could substitute “jQuery” here for pretty much anything. Here is a simple example to explain the concept, which you can use to load pretty much anything you like using require.js. Downloads You’ll need […]