去掉多余 log

This commit is contained in:
binaryify
2017-06-13 21:11:30 +08:00
parent 9a04e321ab
commit 7510bb069d
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ const states = {
let matrix = fromJS(state.matrix)
const shape = cur && cur.shape
const xy = fromJS(cur && cur.xy)
console.log({ matrix, shape, xy })
// console.log({ matrix, shape, xy })
shape.forEach((m, k1) =>
m.forEach((n, k2) => {
if (n && xy.get(0) + k1 >= 0) {

View File

@@ -35,7 +35,7 @@ const down = store => {
let matrix = fromJS(state.matrix)
const shape = cur.shape
const xy = fromJS(cur.xy)
console.log({ matrix, shape, xy })
// console.log({ matrix, shape, xy })
shape.forEach((m, k1) =>
m.forEach((n, k2) => {
if (n && xy.get(0) + k1 >= 0) {