Skip to content

Commit e33f8b6

Browse files
author
Chris K
committed
Review fixes.
1 parent 119332c commit e33f8b6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ecma-debugger/js-source-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ cls.JsSourceView.create_ui_widgets = function()
11411141
);
11421142

11431143
var service = window.services['ecmascript-debugger'];
1144-
var stop_on_error = service.satisfies_version(6, 8) ? true : false;
1144+
var stop_on_error = service.satisfies_version(6, 8);
11451145
var checkboxes =
11461146
[
11471147
'script',

src/ui-strings/ui_strings-en.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ ui_strings.S_BUTTON_LABEL_HIDE_DEFAULT_PROPS_IN_GLOBAL_SCOPE = "Show default pro
472472
ui_strings.S_BUTTON_LABEL_LOG_THREADS = "Log threads";
473473

474474
/* DESC: Enable reformatting of JavaScript. */
475-
ui_strings.S_BUTTON_LABEL_REFORMAT_JAVASCRIPT = "Pretty print JavaScript";
475+
ui_strings.S_BUTTON_LABEL_REFORMAT_JAVASCRIPT = "Pretty-print JavaScript";
476476

477477
/* DESC: Tooltip text for a button under the Scripts tab that reloads the browser to receive fresh DOM, etc. */
478478
ui_strings.S_BUTTON_LABEL_RELOAD_HOST = "Reload the selected window in the browser";
@@ -1129,7 +1129,7 @@ ui_strings.S_LABEL_SEARCH_TYPE_XPATH = "XPath";
11291129
ui_strings.S_LABEL_SHOW_JS_TOOLTIP = "Show inspection tooltip";
11301130

11311131
/* DESC: Enable smart reformatting of JavaScript. */
1132-
ui_strings.S_LABEL_SMART_REFORMAT_JAVASCRIPT = "Smart JavaScript pretty printing";
1132+
ui_strings.S_LABEL_SMART_REFORMAT_JAVASCRIPT = "Smart JavaScript pretty-printing";
11331133

11341134
/* DESC: Settings label to configure the element highlight color */
11351135
ui_strings.S_LABEL_SPOTLIGHT_TITLE = "Element Highlight";

0 commit comments

Comments
 (0)