- This file declares a class,
Player
, instantiates it, and assigns it to a globalplayer
variable. - The
Player
class contains four methods:constructor()
playPause()
skipTo()
setVolume()
- The
constructor()
method sets initial values for thecurrentlyPlaying
,playState
,volume
, andsoundObject
properties.currentlyPlaying
is set to the first item inalbum.songs
.- The initial
playState
is"stopped"
. - The
volume
is set to the number80
.
This file contains hidden or 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
<script> | |
ga('ec:addProduct', { // Provide product details in an productFieldObject. | |
'id': 'P12345', // Product ID (string). | |
'name': 'Android Warhol T-Shirt', // Product name (string). | |
'category': 'Apparel', // Product category (string). | |
'brand': 'Google', // Product brand (string). | |
'variant': 'black', // Product variant (string). | |
'price': '29.20', // Product price (currency). | |
'coupon': 'APPARELSALE', // Product coupon (string). |
I hereby claim:
- I am lassiter on github.
- I am lassiter (https://keybase.io/lassiter) on keybase.
- I have a public key ASCTNvDpeW1DuSlG4fUK9oTp1xt9YWCs2ZY-xkGBF-wL6Qo
To claim this, I am signing this object:
This file contains hidden or 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
🚨*PRODUCTION* 🚨 | |
`candidco-web` Release `19.X.XX.X` available for review https://www.candidco.com | |
https://github.com/candidco/candidco-web/pull/<PR_NUMBER> | |
``` | |
``` |
This file contains hidden or 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
. |