jquery.ui library now is in its module directory

This commit is contained in:
Manuel Cillero 2017-08-16 17:57:42 +02:00
parent fd335a57b5
commit 6481cf646a
491 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,35 @@
/*
* common UI unit tests
*/
(function($) {
var plugins = [
"accordion",
"datepicker",
"dialog",
"draggable",
"droppable",
"resizable",
"selectable",
"slider",
"sortable",
"tabs"
];
module("version");
test("core", function() {
equals($.ui.version, "@VERSION", "$.ui.version");
});
$(plugins).each(function() {
var pluginName = this;
test(pluginName, function() {
if ($.ui[pluginName])
equals($.ui[pluginName].version, "@VERSION", "$.ui." + pluginName + ".version");
else
ok(false, "$.ui." + pluginName + " undefined.");
});
});
})(jQuery);