We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d51ed42 commit 2db52b2Copy full SHA for 2db52b2
src/ecma-debugger/templates.js
@@ -66,10 +66,13 @@
66
selected_script_id, search_term)
67
{
68
var script_list = ["div"];
69
- for (var i = 0, rt; rt = runtimes[i]; i++)
+ if (runtimes && runtimes.length)
70
71
- script_list.push(this.runtime_script(rt, stopped_script_id,
72
- selected_script_id, search_term));
+ for (var i = 0, rt; rt = runtimes[i]; i++)
+ {
73
+ script_list.push(this.runtime_script(rt, stopped_script_id,
74
+ selected_script_id, search_term));
75
+ }
76
}
77
script_list.push("class", "js-dd-script-list",
78
"handler", "js-dd-move-highlight");
0 commit comments