New 'libraries' folder in root instalation directory
This commit is contained in:
parent
05b6a91b0c
commit
006992b900
2267 changed files with 50 additions and 65 deletions
35
libraries/jquery.ui/tests/ui.js
Normal file
35
libraries/jquery.ui/tests/ui.js
Normal 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);
|
Reference in a new issue