public
Fork of halorgium/mephisto
Description: A mirror of the mephisto code-base
Homepage: http://mephistoblog.com/
Clone URL: git://github.com/technoweenie/mephisto.git
Click here to lend your support to: mephisto and make a donation at www.pledgie.com !
updated effects

git-svn-id: http://svn.techno-weenie.net/projects/mephisto/trunk@966 
567b1171-46fb-0310-a4c9-b4bef9110e78
technoweenie (author)
Mon Mar 06 21:12:35 -0800 2006
commit  10bbfbb9f86ca2c35a4a188f8ae28497348003e9
tree    0d97481f2b5ea76de77a9a49b03a0d21f30655de
parent  1b62664867d70d5075eca52a90ea39ab431bf38f
...
921
922
923
924
 
 
 
 
925
926
...
921
922
923
 
924
925
926
927
928
929
0
@@ -921,6 +921,9 @@ Effect.Fold = function(element) {
0
 
0
 if(Element.Methods) {
0
   Element.Methods.visualEffect = function(element, effect, options) {
0
- new Effect[effect.camelize()](element, options);
0
+ s = effect.gsub(/_/, '-').camelize();
0
+ effect_class = s.charAt(0).toUpperCase() + s.substring(1);
0
+ new Effect[effect_class](element, options);
0
+ return $(element);
0
   }
0
 }

Comments

    No one has commented yet.