Index: trunk/extensions/CustomUserSignup/modules/AccountCreationUserBucket.js |
— | — | @@ -1,9 +1,8 @@ |
2 | 2 | //checks |
3 | | -if(typeof(MW) == "undefined"){ MW={};} |
4 | | -if(!MW.activeCampaigns){ MW.activeCampaigns ={}; } |
| 3 | +if(!mw.activeCampaigns){ mw.activeCampaigns ={}; } |
5 | 4 | |
6 | 5 | //define new active campaign |
7 | | -MW.activeCampaigns.AccountCreation = |
| 6 | +mw.activeCampaigns.AccountCreation = |
8 | 7 | |
9 | 8 | { |
10 | 9 | //Treatment name |
— | — | @@ -79,7 +78,7 @@ |
80 | 79 | |
81 | 80 | "all": function(){ |
82 | 81 | //add up all rates |
83 | | - var campaign = MW.activeCampaigns.AccountCreation; |
| 82 | + var campaign = mw.activeCampaigns.AccountCreation; |
84 | 83 | if( $j.cookie('userbuckets') && |
85 | 84 | $j.parseJSON( $j.cookie('userbuckets') )["AccountCreation"]){ |
86 | 85 | var buckets = $j.parseJSON( $j.cookie('userbuckets') ); |