lundi 26 janvier 2015

Can't use jQuery referenced from a http url in a QUnit test

I try to include jquery in my QUnit test like this:



/// <reference path="http://ift.tt/16ygW8q" />


However, this line:



var input = $("<input type='text'/>");


will give me errors like:



1.Died on test #1: '$' is undefined



Why?


Aucun commentaire:

Enregistrer un commentaire