summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules.js b/rules.js
index 9efcc19..1fc7734 100644
--- a/rules.js
+++ b/rules.js
@@ -146,7 +146,7 @@ exports.action = function (state, player, action, arg) {
return game
}
-exports.view = function(state, player) {
+exports.view = function (state, player) {
game = state
view = {
@@ -186,7 +186,7 @@ exports.view = function(state, player) {
view.actions.undo = 0
}
- return view;
+ return view
}
exports.resign = function (state, player) {