Index: views_slideshow.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/views_slideshow.module,v
retrieving revision 1.11.2.2.2.10
diff -u -p -r1.11.2.2.2.10 views_slideshow.module
--- views_slideshow.module	1 Mar 2010 12:32:50 -0000	1.11.2.2.2.10
+++ views_slideshow.module	26 Mar 2010 23:08:56 -0000
@@ -7,40 +7,6 @@
  */
 
 /**
- * Implementation of hook_init().
- */
-function views_slideshow_init() {
-  $module_path = drupal_get_path('module', 'views_slideshow');
-
-  // If the jQ module is installed, use that to add the jQuery Cycle plugin.
-  // This allows different versions of the plugin to be used.
-  // @todo: allow use of different slideshow plugins.
-  $js = FALSE;
-  if (module_exists('jq')) {
-    $loaded_plugins = jq_plugins();
-    if (!empty($loaded_plugins['cycle'])) {
-      $js = jq_add('cycle');
-    }
-  }
-
-  // Otherwise, we'll add the version included with this module.
-  if (!$js) {
-    drupal_add_js($module_path . '/js/jquery.cycle.all.min.js');
-  }
-
-  // Add contrib files.
-  // @todo: add a variable to allow user to define custom paths.
-  $contrib = file_scan_directory($module_path . '/contrib', 'views_slideshow_[a-z]*.module');
-  foreach ($contrib as $key => $module) {
-    if (module_exists($module->name)) {
-      $contrib_path = drupal_get_path('module', $module->name);
-      drupal_add_js($contrib_path . '/views_slideshow.js', 'module');
-      drupal_add_css($contrib_path . '/views_slideshow.css', 'module');
-    }
-  }
-}
-
-/**
  * Implement hook_theme().
  */
 function views_slideshow_theme($existing, $type, $theme, $path) {
Index: contrib/views_slideshow_singleframe/views_slideshow_singleframe.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_singleframe/Attic/views_slideshow_singleframe.module,v
retrieving revision 1.1.2.1.2.5
diff -u -p -r1.1.2.1.2.5 views_slideshow_singleframe.module
--- contrib/views_slideshow_singleframe/views_slideshow_singleframe.module	23 Feb 2010 22:21:44 -0000	1.1.2.1.2.5
+++ contrib/views_slideshow_singleframe/views_slideshow_singleframe.module	26 Mar 2010 23:08:56 -0000
@@ -7,6 +7,30 @@
  */
 
 /**
+ * Implements hook_init().
+ */
+function views_slideshow_singleframe_init() {
+  // If the jQ module is installed, use that to add the jQuery Cycle plugin.
+  // This allows different versions of the plugin to be used.
+  $js = FALSE;
+  if (module_exists('jq')) {
+    $loaded_plugins = jq_plugins();
+    if (!empty($loaded_plugins['cycle'])) {
+      $js = jq_add('cycle');
+    }
+  }
+
+  // Otherwise, we'll add the version included with this module.
+  if (!$js) {
+    drupal_add_js(drupal_get_path('module', 'views_slideshow') . '/js/jquery.cycle.all.min.js');
+  }
+
+  $module_path = drupal_get_path('module', 'views_slideshow_singleframe');
+  drupal_add_js($module_path . '/views_slideshow.js', 'module');
+  drupal_add_css($module_path . '/views_slideshow.css', 'module');
+}
+
+/**
  * Implements hook_theme().
  */
 function views_slideshow_singleframe_theme($existing, $type, $theme, $path) {
Index: contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/Attic/views_slideshow_thumbnailhover.module,v
retrieving revision 1.1.2.1.2.5
diff -u -p -r1.1.2.1.2.5 views_slideshow_thumbnailhover.module
--- contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module	23 Feb 2010 22:21:44 -0000	1.1.2.1.2.5
+++ contrib/views_slideshow_thumbnailhover/views_slideshow_thumbnailhover.module	26 Mar 2010 23:08:56 -0000
@@ -13,6 +13,30 @@
  */
 
 /**
+ * Implements hook_init();
+ */
+function views_slideshow_thumbnailhover_init() {
+  // If the jQ module is installed, use that to add the jQuery Cycle plugin.
+  // This allows different versions of the plugin to be used.
+  $js = FALSE;
+  if (module_exists('jq')) {
+    $loaded_plugins = jq_plugins();
+    if (!empty($loaded_plugins['cycle'])) {
+      $js = jq_add('cycle');
+    }
+  }
+
+  // Otherwise, we'll add the version included with this module.
+  if (!$js) {
+    drupal_add_js(drupal_get_path('module', 'views_slideshow') . '/js/jquery.cycle.all.min.js');
+  }
+
+  $module_path = drupal_get_path('module', 'views_slideshow_thumbnailhover');
+  drupal_add_js($module_path . '/views_slideshow.js', 'module');
+  drupal_add_css($module_path . '/views_slideshow.css', 'module');
+}
+
+/**
  * Implements hook_theme().
  */
 function views_slideshow_thumbnailhover_theme($existing, $type, $theme, $path) {
