Skip to content

Commit

Permalink
DevTools: Automatically compile snippets
Browse files Browse the repository at this point in the history
BUG=none

Review-Url: https://codereview.chromium.org/2236313003
Cr-Commit-Position: refs/heads/master@{#411714}
  • Loading branch information
JoelEinbinder authored and Commit bot committed Aug 12, 2016
1 parent 3a5f307 commit f938c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/sources/JavaScriptSourceFrame.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ WebInspector.JavaScriptSourceFrame = function(uiSourceCode)
this._updateScriptFile(targets[i]);
}

if (this._scriptFileForTarget.size || uiSourceCode.extension() === "js")
if (this._scriptFileForTarget.size || uiSourceCode.extension() === "js" || uiSourceCode.project().type() === WebInspector.projectTypes.Snippets)
this._compiler = new WebInspector.JavaScriptCompiler(this);

WebInspector.moduleSetting("skipStackFramesPattern").addChangeListener(this._showBlackboxInfobarIfNeeded, this);
Expand Down

0 comments on commit f938c7a

Please sign in to comment.