Commit 0b5a684a62f94fdfa5d2f55bdd0c15fc74cd4539
Committed by
Gabriela Navarro
1 parent
24776b9e
Exists in
master
and in
5 other branches
Remove software block dead code
Showing
2 changed files
with
0 additions
and
28 deletions
Show diff stats
lib/software_communities_plugin.rb
| @@ -128,7 +128,6 @@ class SoftwareCommunitiesPlugin < Noosfero::Plugin | @@ -128,7 +128,6 @@ class SoftwareCommunitiesPlugin < Noosfero::Plugin | ||
| 128 | views/search-software-catalog.js | 128 | views/search-software-catalog.js |
| 129 | initializer.js | 129 | initializer.js |
| 130 | app.js | 130 | app.js |
| 131 | - mpog-software-block.js | ||
| 132 | mpog-download-block.js | 131 | mpog-download-block.js |
| 133 | ) | 132 | ) |
| 134 | end | 133 | end |
public/mpog-software-block.js
| @@ -1,27 +0,0 @@ | @@ -1,27 +0,0 @@ | ||
| 1 | -(function($){ | ||
| 2 | - "use strict";// Make javascript less intolerant to errors | ||
| 3 | - | ||
| 4 | - var TRANSITION_TIME = 250;// milliseconds | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - function show_finality() { | ||
| 8 | - var finality = $(this).children(".software-block-finality"); | ||
| 9 | - | ||
| 10 | - finality.stop().animate({"top" : "0%"}, TRANSITION_TIME); | ||
| 11 | - } | ||
| 12 | - | ||
| 13 | - function hide_finality() { | ||
| 14 | - var finality = $(this).children(".software-block-finality"); | ||
| 15 | - | ||
| 16 | - finality.stop().animate({"top" : "100%"}, TRANSITION_TIME); | ||
| 17 | - } | ||
| 18 | - | ||
| 19 | - function set_events() { | ||
| 20 | - $(".software-block").mouseover(show_finality); | ||
| 21 | - $(".software-block").mouseout(hide_finality); | ||
| 22 | - } | ||
| 23 | - | ||
| 24 | - $(document).ready(function(){ | ||
| 25 | - set_events(); | ||
| 26 | - }); | ||
| 27 | -})(jQuery); | ||
| 28 | \ No newline at end of file | 0 | \ No newline at end of file |