From 47c90b7d1d2c1bffb620f7a50045d03d62b6b8e2 Mon Sep 17 00:00:00 2001 From: nik frank Date: Mon, 8 May 2017 01:21:12 +0300 Subject: [PATCH] namepacing is important in tahini --- canon/crib/src/Game/Game.js | 4 ++++ canon/crib/src/Pegging/Pegging.js | 4 ++++ canon/crib/src/Round/Round.js | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/canon/crib/src/Game/Game.js b/canon/crib/src/Game/Game.js index b5f5cfe..3a51518 100644 --- a/canon/crib/src/Game/Game.js +++ b/canon/crib/src/Game/Game.js @@ -8,6 +8,10 @@ import Round from '../Round/'; import score from '../util/score'; class Game extends Component { + static get namespace(){ + return 'crib-Game'; + } + static get actions(){ return { nuGame: ()=>({ diff --git a/canon/crib/src/Pegging/Pegging.js b/canon/crib/src/Pegging/Pegging.js index 141975f..a4d76a8 100644 --- a/canon/crib/src/Pegging/Pegging.js +++ b/canon/crib/src/Pegging/Pegging.js @@ -7,6 +7,10 @@ import Card from '../pure/Card'; import pegScore from '../util/pegScore'; class Pegging extends Component { + static get namespace(){ + return 'crib-Pegging'; + } + static get actions(){ return { diff --git a/canon/crib/src/Round/Round.js b/canon/crib/src/Round/Round.js index 46f2a32..0d32d79 100644 --- a/canon/crib/src/Round/Round.js +++ b/canon/crib/src/Round/Round.js @@ -11,6 +11,10 @@ import score from '../util/score'; import './Round.css'; class Round extends Component { + static get namespace(){ + return 'crib-Round'; + } + static get actions(){ return { next: ()=>({