GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: A simple application written in merb to help you manage ad serving across multiple sites
Clone URL: git://github.com/kneath/greed.git
Show code should show the corresponding textarea. (yay for javascript 
scoping!)
kneath (author)
Mon May 12 00:23:11 -0700 2008
commit  0c17333a7eb8f6aafc9ce042fc779a21a84139e3
tree    6592605309e836c84c3d132d5312e66b19e3a049
parent  a9b39f48c561b9c6971fd0bfe1d89c52e36689a3
...
41
42
43
44
 
45
46
47
...
41
42
43
 
44
45
46
47
0
@@ -41,7 +41,7 @@ var rules = {
0
   
0
   '.codetoggler': function(element){
0
     element = $(element);
0
- toggle_element = $(element.getAttribute('toggle'));
0
+ var toggle_element = $(element.getAttribute('toggle'));
0
     toggle_element.hide();
0
     element.addEvent('click', function(e){
0
       if (toggle_element.visible()){

Comments

    No one has commented yet.