Skip to content

Instantly share code, notes, and snippets.

View roberrrt-s's full-sized avatar
🎯
Focusing

Robert Spier roberrrt-s

🎯
Focusing
View GitHub Profile
@roberrrt-s
roberrrt-s / maplestory-monsters.js
Created April 8, 2021 18:21
Array of objects of all monster stats.
[{
text: "Jafel's mom",
hp: 9999999999,
level: 999,
mdef: 999,
wdef: 999,
avoid: 999,
undead: 1,
elem: "F1H1L1S1I1"
}, {
/* global YT */
export default (function() {
function init(id, el, callback, state) {
// Set function global so the YouTube API can connect with it.
window.onYouTubeIframeAPIReady = () => {
let player = new YT.Player(el, { // eslint-disable-line no-unused-vars
videoId: id,
width: '100%',
/* global YT */
import YouTube from '../util/YouTube';
export default (function() {
function init() {
let isPlaying = false;
let hasStarted = false;
const _$videoWrapper = $('.js-hero-video');
@roberrrt-s
roberrrt-s / data.js
Created October 20, 2020 16:02
json-to-js-data-loading-example
function data() {
return {
data: [
{
"property": "waarde",
"getal": 1,
"misschien": true,
},
{
"property": "waarden",