Skip to content

Commit 62f0302

Browse files
author
Chris K
committed
Review fixes.
1 parent c663474 commit 62f0302

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/repl/repl_view.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ cls.ReplView = function(id, name, container_class, html, default_handler) {
346346
this._render_input = function(str)
347347
{
348348
window.simple_js_parser.format_source(str).forEach(function(line, index) {
349-
this._add_line('<span class="repl-line-marker">' +
349+
this._add_line('<span class="repl-line-marker">' +
350350
(index ? "... " : "&gt;&gt;&gt; ") +
351351
"</span>" + line);
352352
}, this);
@@ -455,7 +455,7 @@ cls.ReplView = function(id, name, container_class, html, default_handler) {
455455
this._construct_line = function(pre, prop, post, is_partial_completion)
456456
{
457457
var is_number_without_leading_zero = /^0$|^[1-9][0-9]*$/;
458-
if (!is_partial_completion &&
458+
if (!is_partial_completion &&
459459
!JSSyntax.is_valid_identifier(prop) &&
460460
this._autocompletion_scope)
461461
{
@@ -720,7 +720,7 @@ cls.ReplView = function(id, name, container_class, html, default_handler) {
720720
{
721721
this.ondestroy();
722722
this._toolbar_visibility = false;
723-
topCell.setTooolbarVisibility('command_line', false);
723+
topCell.setTooolbarVisibility("command_line", false);
724724
}
725725
}.bind(this);
726726

@@ -917,7 +917,7 @@ cls.ReplView = function(id, name, container_class, html, default_handler) {
917917
/**
918918
* action click
919919
*/
920-
this.onclick = function(event)
920+
this.onclick = function(event)
921921
{
922922
if (!this._container)
923923
return;
@@ -1053,14 +1053,14 @@ cls.ReplView.create_ui_widgets = function()
10531053

10541054
var broker = ActionBroker.get_instance();
10551055
var contextmenu = ContextMenu.get_instance();
1056-
var default_menu =
1056+
var default_menu =
10571057
[
10581058
{
10591059
label: ui_strings.S_CLEAR_COMMAND_LINE_LOG,
10601060
handler: function() {
10611061
broker.dispatch_action("command_line", "clear");
10621062
}
1063-
},
1063+
},
10641064
];
10651065
var with_close_option = default_menu.slice(0);
10661066
with_close_option.push(
@@ -1071,7 +1071,7 @@ cls.ReplView.create_ui_widgets = function()
10711071
}
10721072
});
10731073

1074-
contextmenu.register("command_line",
1074+
contextmenu.register("command_line",
10751075
[
10761076
{
10771077
callback: function(event, target)

src/ui-strings/ui_strings-en.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,4 +1696,4 @@ ui_strings.S_SCRIPT_TYPE_EXTENSIONJS = "Extension";
16961696
ui_strings.S_SCRIPT_TYPE_DEBUGGER = "Debugger";
16971697

16981698
/* DESC: Alert dialog that updating of the custom shortcuts with new ones has failed. */
1699-
ui_strings.D_SHORTCUTS_UPDATE_FAILED = "We could not update your custom keyboard shortcuts with the new ones.";
1699+
ui_strings.D_SHORTCUTS_UPDATE_FAILED = "Failed to sync custom shortcuts. The shortcuts are reset to the default ones.";

0 commit comments

Comments
 (0)