Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
refactor: rename OoT Bingo to Bingosync
Browse files Browse the repository at this point in the history
This system is accidentally a generic Bingosync system, and has almost nothing that makes it specific to OoT Bingo. This is good for us.
  • Loading branch information
Alex Van Camp committed Dec 12, 2018
1 parent deac93e commit adb1099
Show file tree
Hide file tree
Showing 67 changed files with 427 additions and 417 deletions.
2 changes: 2 additions & 0 deletions dist/extension/bingosync.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=bingosync.d.ts.map
1 change: 1 addition & 0 deletions dist/extension/bingosync.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions dist/extension/oot-bingo.js → dist/extension/bingosync.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/extension/intermissions.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions dist/extension/oot-bingo.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/extension/oot-bingo.d.ts.map

This file was deleted.

2 changes: 1 addition & 1 deletion dist/extension/twitter.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions graphics/bingosync.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bingosync Graphic</title>

<link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import" href="../bower_components/polymer-decorators/polymer-decorators.html">
<link rel="import" href="../bower_components/polymer/lib/mixins/mutable-data.html">
<link rel="import" href="../bower_components/polymer/lib/utils/debounce.html">
<link rel="import" href="../bower_components/polymer/polymer-element.html">
<script>
{
let links = [
'elements/molecules/gdq-bingosync-board/gdq-bingosync-board.html'
];

for (const link of links) {
const linkElem = document.createElement('link');
linkElem.rel = 'import';
linkElem.href = link;
document.head.appendChild(linkElem);
}
}
</script>

<custom-style>
<style include="iron-flex iron-positioning">
body {
overflow: hidden;
}

gdq-bingosync-board {
@apply --layout-flex;
}
</style>
</custom-style>
</head>
<body class="fullbleed vertical layout">
<gdq-bingosync-board></gdq-bingosync-board>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OoT Bingo Dashboard</title>
<title>Bingosync Dashboard</title>
<script src="../bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout-classes.html">
<link rel="import" href="../bower_components/iron-flex-layout/iron-flex-layout.html">
Expand All @@ -13,7 +13,7 @@
<script>
{
let links = [
'elements/interfaces/dash-ootbingo/dash-ootbingo.html'
'elements/interfaces/dash-bingosync/dash-bingosync.html'
];

for (const link of links) {
Expand All @@ -32,13 +32,13 @@
padding: 16px;
}

dash-ootbingo {
dash-bingosync {
@apply --layout-flex;
}
</style>
</custom-style>
</head>
<body class="fullbleed vertical layout">
<dash-ootbingo></dash-ootbingo>
<dash-bingosync></dash-bingosync>
</body>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<link rel="import" href="../../../../bower_components/polymer/polymer-element.html">
<link rel="import" href="../../../../shared/fonts/source-code-pro/import.html">

<dom-module id="atom-ootbingo-board">
<dom-module id="atom-bingosync-board">
<template>
<style>
:host {
Expand All @@ -29,12 +29,12 @@
@apply --layout-vertical;
background: #1D0013;
box-shadow: inset 0 0 25px rgba(95, 95, 95, 0.75);
padding: var(--atom-ootbingo-board-cell-padding, 8px);
padding: var(--atom-bingosync-board-cell-padding, 8px);
}

.cell-text {
-webkit-box-orient: vertical;
-webkit-line-clamp: var(--atom-ootbingo-board-cell-line-clamp, 7);
-webkit-line-clamp: var(--atom-bingosync-board-cell-line-clamp, 7);
color: white;
display: -webkit-box;
font-family: 'Source Code Pro', monospace;
Expand All @@ -53,7 +53,7 @@
}
</style>

<nodecg-replicant id="boardRep" replicant-name="ootBingo:board" value="{{board}}"></nodecg-replicant>
<nodecg-replicant id="boardRep" replicant-name="bingosync:board" value="{{board}}"></nodecg-replicant>

<template is="dom-repeat" items="[[_calcCells(board.cells, board.selectedLine, board.lineFocused)]]" as="cell" mutable-data>
<div class="cell" complete$="[[_calcComplete(cell)]]" title="[[cell.name]]">
Expand All @@ -64,5 +64,5 @@
</template>
</template>

<script src="atom-ootbingo-board.js" type="module"></script>
<script src="atom-bingosync-board.js" type="module"></script>
</dom-module>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ interface BoardCell {
* @polymer
* @appliesMixin Polymer.MutableData
*/
@customElement('atom-ootbingo-board')
export default class AtomOotbingoBoardElement extends Polymer.MutableData(Polymer.Element) {
@customElement('atom-bingosync-board')
export default class AtomBingosyncBoardElement extends Polymer.MutableData(Polymer.Element) {
@property({type: Boolean, reflectToAttribute: true, computed: '_computeLineFocused(board.lineFocused)'})
lineFocused = true;

Expand Down
85 changes: 0 additions & 85 deletions graphics/elements/atoms/atom-ootbingo-board/atom-ootbingo-board.js

This file was deleted.

Loading

0 comments on commit adb1099

Please sign in to comment.