Created
March 3, 2017 14:27
-
-
Save happyDemon/3d6cef926e8a0a7b975df607631b27b1 to your computer and use it in GitHub Desktop.
Vue.js explained through Pokemon #5
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
if(attackPower > 0) | |
{ | |
// Show that the opponnet is receiving damage | |
Velocity(document.getElementById(this.otherPokemon+'-pokemon'), 'callout.swing'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment