-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hi! What does this code mean in tryToFitTile in layout.js file ?
function tryToFitTile(tile) {
return function (tileSelection) {
if (tileSelection.some(placedTile)) {
return false;
} else {
//this one does nothing.
tileSelection.map(function () {
return tile;
});
// ends here
tile.position = { x: tileSelection.col.start, y: tileSelection.row.start };
return true;
}
};
}
Metadata
Metadata
Assignees
Labels
No labels