[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/modules/jquery_ui/jquery.ui.old/tests/ -> ui.js (source)

   1  /*

   2   * common UI unit tests

   3   */
   4  (function($) {
   5  
   6  var plugins = [
   7      "accordion",
   8      "datepicker",
   9      "dialog",
  10      "draggable",
  11      "droppable",
  12      "resizable",
  13      "selectable",
  14      "slider",
  15      "sortable",
  16      "tabs"
  17  ];
  18  
  19  module("version");
  20  
  21  test("core", function() {
  22      equals($.ui.version, "@VERSION", "$.ui.version");
  23  });
  24  
  25  $(plugins).each(function() {
  26      var pluginName = this;
  27      test(pluginName, function() {
  28          if ($.ui[pluginName])
  29              equals($.ui[pluginName].version, "@VERSION", "$.ui." + pluginName + ".version");
  30          else
  31              ok(false, "$.ui." + pluginName + " undefined.");
  32      });
  33  });
  34  
  35  })(jQuery);


Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7