- Make use of data and simulations to engage users longer
- Create an interactive bout with branching stories taken from fedsimulatorstory.com
- Mono repo the app
TODO https://github.com/wojtekmaj/react-calendar - schedule view
- [ ] Set budget for brand | |
- [x] Allow import of previous data | |
- [ ] Select frequency and date | |
- [ ] TV shows have a lower cost | |
- [ ] House shows have a lower cost | |
- [x] PPV have a cost | |
- [ ] Calendar vie: add repeating instances of weekly shows | |
Shows |
{"lastUpload":"2021-03-08T16:28:36.253Z","extensionVersion":"v3.4.3"} |
TODO https://github.com/wojtekmaj/react-calendar - schedule view
import Benchmark from "benchmark"; | |
import modifiers from "./modifiers"; | |
import data from "./fixtures"; | |
import factory from "../src"; | |
const suite = new Benchmark.Suite(); | |
suite | |
.add("Factory", function () { |
import React, { Component } from 'react'; | |
import styled, { ThemeProvider } from 'styled-components'; | |
import { modularScale, hiDPI } from 'polished'; | |
import Grid from 'styled-components-grid'; | |
import defaultState from './context'; | |
const extraWrestler = { | |
id: 3, | |
name: 'Shawn Michaels' |
case "STORE_MATCH_DATA": | |
{ | |
let bouts = Object.assign([], action.payload.matches) | |
bouts = bouts.filter(item => !item.resultStored && item.simulated) | |
bouts.forEach(bout => { | |
const winningTeamId = bouts.wrestlers.find(item => item.winner) | |
const losingTeamId = bouts.wrestlers.find(item => item.loser) | |
if (winningTeamId && losingTeamId) { |
import React from 'react'; | |
import { expect } from 'chai'; | |
import shallow from 'react-test-renderer/shallow'; | |
import sinon from 'sinon'; | |
import Page from '../src/pages/dashboard/dashboard'; | |
import HeaderOne from '../src/components/h1/h1'; | |
import Ranking from '../src/components/ranking/ranking'; | |
import Wrestlers from "./wrestlers.json" |
//src/services/parts/custom-elements-es5-adapter.js | |
(function() { | |
'use strict'; | |
function initialise () { | |
'use strict'; | |
if (!window.customElements) return; | |
var a = window.HTMLElement, | |
b = window.customElements.define, | |
c = window.customElements.get, |
(/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/)|(//.*) |
// Invoked once before first render | |
componentWillMount() { | |
console.log('componentWillMount'); | |
// Calling setState here does not cause a re-render | |
} | |
// Invoked once after the first render | |
componentDidMount(){ | |
console.log('componentDidMount'); | |
} |