wyattjmiller.com/src/twitch-player.js

35 lines
545 B
JavaScript
Raw Normal View History

2018-05-18 06:38:59 -05:00
/*
Twitch player for my personal site
Created by Wyatt J. Miller, published by Entourage Solutions
Made possible by the folks at Twitch, thanks guys ;)
Licensed by the MIT
*/
new Twitch.Embed("twitch-embed", {
theme: "dark",
chat: "mobile",
2018-05-21 00:22:22 -05:00
width: "100%",
height: "100%",
2018-05-18 06:38:59 -05:00
channel: "wymillerlinux"
});
2018-05-24 22:43:26 -05:00
/*
var a = 42;
var b = Number(a);
console.log(a);
console.log(b);
function foo(){
this.bar = bar;
this.foo = foo;
console.log(foo, bar);
}
var obj = {
foo: "bar",
bar: "foo"
};
foo();
new foo();
*/