Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consistency... #1

Open
assertchris opened this issue Jan 10, 2011 · 0 comments
Open

Consistency... #1

assertchris opened this issue Jan 10, 2011 · 0 comments

Comments

@assertchris
Copy link

Hey dude, good job! Just a thought...


$('badge3').set('flickr',{username: 'ydn', 
                     amount: 20, 
                     size: 's', 
                     tags: 'hackathon'});
 $('badge3').loadFlickrPhotos();

This would be more consistent with the current set/invoke pattern if it was:


$('badge3').set('flickr',{username: 'ydn', 
                     amount: 20, 
                     size: 's', 
                     tags: 'hackathon'});
 $('badge3').flickr();

http://mootools.net/docs/core/Fx/Fx.Tween#Element-Properties:tween
http://mootools.net/docs/core/Fx/Fx.Morph#Element-Properties:morph
http://mootools.net/docs/core/Request/Request.HTML#Element-Properties:load
http://mootools.net/docs/more/Fx/Fx.Slide#Element-Properties:slide
etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant