Created
May 25, 2011 17:51
-
-
Save tayfunoziserikan/991472 to your computer and use it in GitHub Desktop.
Tayfun's Rain Listener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Earth.weather.on('onRain', function() { | |
Tayfun.body.actionManager.fireEvent('goToTheBeach', { | |
params: { | |
beer: true, | |
chips: true, | |
duration: 'unlimited' | |
} | |
}); | |
}, this); | |
Tayfun.events.on('goToTheBeach', function(params) { | |
Tayfun.letsRock(params); | |
}, this); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment