code climate
This commit is contained in:
parent
bb013787b6
commit
8f230736dc
2 changed files with 2 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
||||||
import Active from './Active'
|
|
||||||
|
|
||||||
const AutoLayout = {
|
const AutoLayout = {
|
||||||
nextX: 0,
|
nextX: 0,
|
||||||
nextY: 0,
|
nextY: 0,
|
||||||
|
@ -61,7 +59,7 @@ const AutoLayout = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
coordsTaken: function(x, y, map) {
|
coordsTaken: function (x, y, map) {
|
||||||
const mappings = map.getMappings()
|
const mappings = map.getMappings()
|
||||||
if (mappings.findWhere({ xloc: x, yloc: y })) {
|
if (mappings.findWhere({ xloc: x, yloc: y })) {
|
||||||
return true
|
return true
|
||||||
|
|
|
@ -65,8 +65,7 @@ const PasteInput = {
|
||||||
// just try to see if CSV works
|
// just try to see if CSV works
|
||||||
Import.handleCSV(text)
|
Import.handleCSV(text)
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default PasteInput
|
export default PasteInput
|
||||||
|
|
Loading…
Reference in a new issue