added test for datetime

This commit is contained in:
vitalets
2013-04-01 15:25:11 +04:00
parent 79f2293e44
commit b0684d0174
2 changed files with 219 additions and 0 deletions

@ -1,3 +1,8 @@
/*
Loads all required files.
Calls loader.js to get x-editable files with dependencies.
*/
//detect version of jquery from url param, e.g. 'jquery=1.7.2'
var jqver = decodeURIComponent((new RegExp('[?|&]' + 'jquery' + '=' + '([^&;]+?)(&|#|;|$)').exec(location.search)||[,""])[1].replace(/\+/g, '%20'))||null;
jqurl = jqver ? "http://code.jquery.com/jquery-"+jqver+".min.js" : "libs/jquery/jquery-1.9.1.min.js";
@ -33,6 +38,7 @@ require(["loader", jqurl], function(loader) {
case 'bootstrap':
custom = ['test/unit/datefield',
'test/unit/date',
'test/unit/datetime',
'test/unit/wysihtml5',
'test/unit/typeahead'
];