Moved JSHint into Qunit suite. It's much harder to forget about now!

This commit is contained in:
Robin Ward
2013-06-21 14:06:20 -04:00
parent a4dceed379
commit 82c21868f3
59 changed files with 4320 additions and 181 deletions

View File

@ -27,15 +27,15 @@ test("formating medium length dates", function() {
format = "medium";
var strip = function(html){
return $(html).text();
}
};
var shortDate = function(days){
return moment().subtract('days', days).format('D MMM');
}
};
var shortDateYear = function(days){
return moment().subtract('days', days).format('D MMM, YYYY');
}
};
leaveAgo = true;
equal(strip(formatMins(1.4)), "1 min ago");