diff options
author | Richard Worth <rdworth@gmail.com> | 2008-11-19 06:09:48 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-11-19 06:09:48 +0000 |
commit | 8306e62887be2bcc70984fd3b3b6c9d8158843cf (patch) | |
tree | 715b7150ab5154ca56fb9388e4bb4f51709a4c40 /tests/ui.js | |
parent | 027e4d57b7085a6f2a2135646d04f2510192c2b7 (diff) | |
download | jquery-ui-8306e62887be2bcc70984fd3b3b6c9d8158843cf.tar.gz jquery-ui-8306e62887be2bcc70984fd3b3b6c9d8158843cf.zip |
set svn:eol-style to native
Diffstat (limited to 'tests/ui.js')
-rw-r--r-- | tests/ui.js | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/tests/ui.js b/tests/ui.js index 9260a3be5..03bbf405e 100644 --- a/tests/ui.js +++ b/tests/ui.js @@ -1,36 +1,36 @@ -/*
- * common UI unit tests
- */
-(function($) {
-
-var plugins = [
- "accordion",
- "datepicker",
- "dialog",
- "draggable",
- "droppable",
- "progressbar",
- "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);
+/* + * common UI unit tests + */ +(function($) { + +var plugins = [ + "accordion", + "datepicker", + "dialog", + "draggable", + "droppable", + "progressbar", + "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); |