Skip to content
This repository has been archived by the owner on Aug 6, 2020. It is now read-only.

Latest commit

 

History

History
21 lines (13 loc) · 1.45 KB

README.md

File metadata and controls

21 lines (13 loc) · 1.45 KB

A boilerplate project for getting TypeScript, RequireJS, and Jasmine playing nicely together in Visual Studio.

##How to Use## To see it in action, simply fork or download the project and open it up in Visual Studio 2012 (with the TypeScript and Web Essentials plugins installed), and right click the specrunner.html and select View in Browser.

##Project Structure## There are a few interesting things to note about the files in the project:

  • specrunner.html loads the Jasmine library and performs the basic configuration and tells RequireJS to load src/specrunner.
  • src/specrunner.ts configures RequireJS and loads the specs and then start Jasmine

##Improvments## If you have any improvments or suggestions, please submit a pull request on GitHub with your modifications.

Comments and suggestions can also be posted here in the Issues section or in the original blog post on my website.

##Changelog##

03/06/2013: Removed init.ts file, load specs from specrunner.ts directly

Removed init.ts and rewrote specrunner.ts load specs directly. There was no need to do it through init.ts.