Re-apply some Prettier formatting after merge
This commit is contained in:
@@ -130,7 +130,7 @@ View.prototype.setPosition = function (pos) {
|
||||
//
|
||||
// Allow the following forms: [row, col], { row : r, col : c }, or (row, col)
|
||||
//
|
||||
if(Array.isArray(pos)) {
|
||||
if (Array.isArray(pos)) {
|
||||
this.position.row = pos[0];
|
||||
this.position.col = pos[1];
|
||||
} else if (_.isNumber(pos.row) && _.isNumber(pos.col)) {
|
||||
@@ -285,7 +285,7 @@ View.prototype.setFocusProperty = function (focused) {
|
||||
this.hasFocus = focused;
|
||||
};
|
||||
|
||||
View.prototype.setFocus = function(focused) {
|
||||
View.prototype.setFocus = function (focused) {
|
||||
// Call separate method to differentiate between a value set as a
|
||||
// property vs focus programmatically called.
|
||||
this.setFocusProperty(focused);
|
||||
|
||||
Reference in New Issue
Block a user