rename init-all-plugin.js into plain plugin.js that has additional features for toggling
[myslice.git] / unfold / js / init-all-plugins.js
diff --git a/unfold/js/init-all-plugins.js b/unfold/js/init-all-plugins.js
deleted file mode 100644 (file)
index 735abba..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-/* upon document completion, we locate all the hide and show areas, 
- * and configure their behaviour 
- */
-$(document).ready(function() {
-    $('.plugin-hide').each(function() {
-       $(this).click(function () { 
-           var plugin='#'+$(this).attr('id').replace('hide-',''); 
-           var show='#'+$(this).attr('id').replace('hide-','show-'); 
-           $(plugin).slideUp(); $(show).show(); $(this).hide();});
-    });
-    $('.plugin-show').each(function() {
-       $(this).click(function () { 
-           var plugin='#'+$(this).attr('id').replace('show-',''); 
-           var hide='#'+$(this).attr('id').replace('show-','hide-'); 
-           $(plugin).slideDown(); $(hide).show(); $(this).hide();});
-    });
-    $('.plugin-tooltip').each(function(){ $(this).tooltip({'selector':'','placement':'right'}); });
-})