diff --git a/src/js/database/BackupDatabase.js b/src/js/database/BackupDatabase.js index 26b60cd0..6688c3aa 100644 --- a/src/js/database/BackupDatabase.js +++ b/src/js/database/BackupDatabase.js @@ -25,7 +25,7 @@ /** * Open and initialize the database. - * Returns a promise that resolves when the databse is opened. + * Returns a promise that resolves when the database is opened. */ ns.BackupDatabase.prototype.init = function () { var request = window.indexedDB.open(DB_NAME, DB_VERSION); diff --git a/src/js/tools/drawing/selection/BaseSelect.js b/src/js/tools/drawing/selection/BaseSelect.js index 24d7721d..8d91735f 100644 --- a/src/js/tools/drawing/selection/BaseSelect.js +++ b/src/js/tools/drawing/selection/BaseSelect.js @@ -42,7 +42,7 @@ this.lastMoveRow = row; // The select tool can be in two different state. - // If the inital click of the tool is not on a selection, we go in 'select' + // If the initial click of the tool is not on a selection, we go in 'select' // mode to create a selection. // If the initial click is on a previous selection, we go in 'moveSelection' // mode to allow to move the selection by drag'n dropping it. diff --git a/src/js/tools/drawing/selection/RectangleSelect.js b/src/js/tools/drawing/selection/RectangleSelect.js index ede06430..d76ca04a 100644 --- a/src/js/tools/drawing/selection/RectangleSelect.js +++ b/src/js/tools/drawing/selection/RectangleSelect.js @@ -24,8 +24,8 @@ /** * When creating the rectangle selection, we clear the current overlayFrame and - * redraw the current rectangle based on the orgin coordinate and - * the current mouse coordiinate in sprite. + * redraw the current rectangle based on the origin coordinate and + * the current mouse coordinate in sprite. * @override */ ns.RectangleSelect.prototype.onDragSelect_ = function (col, row, frame, overlay) { diff --git a/src/js/tools/drawing/selection/ShapeSelect.js b/src/js/tools/drawing/selection/ShapeSelect.js index 9903af2a..dcc7855d 100644 --- a/src/js/tools/drawing/selection/ShapeSelect.js +++ b/src/js/tools/drawing/selection/ShapeSelect.js @@ -18,7 +18,7 @@ /** * For the shape select tool, you just need to click one time to create a selection. - * So we jsut need to implement onSelectStart_ (no need for onSelect_ & onSelectEnd_) + * So we just need to implement onSelectStart_ (no need for onSelect_ & onSelectEnd_) * @override */ ns.ShapeSelect.prototype.onSelectStart_ = function (col, row, frame, overlay) {