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
function setTwitchVideo(channelName) { | |
$(".active-stream").removeClass("active-stream"); | |
$(".stream-thumbnail-active").removeClass("stream-thumbnail-active").addClass('stream-thumbnail-not-active'); | |
$("#"+channelName + "-thumb").addClass("stream-thumbnail-active").removeClass('stream-thumbnail-not-active'); | |
var activeStream = $("#" + channelName + "-stream"); | |
activeStream.addClass("active-stream"); | |
var vid = $(".carousel-inner"); | |
vid.empty(); | |
var options = { | |
width: 620, |
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
//This is a variable there are int, char, float, double, bool (true false) and more | |
/*------------------variables---------------------*/ | |
int x = 0; //this is an integer | |
char c; // this is a character variable | |
bool frogs = true; //these can be set to true or fasle | |
double a = 0; //this is just a bigger storage variable than an int. | |
/*------------------end variables---------------------*/ |
NewerOlder