| Index: third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js b/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| index 0f5b84c80d43b9799d95da8eb8fbb7612591f7fd..b5a9a41b8b9641a3503061154fa9591452a307a7 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| @@ -53,6 +53,14 @@ Snippets.ScriptSnippetModel = class extends Common.Object {
|
| }
|
|
|
| /**
|
| + * @param {!Workspace.UISourceCode} uiSourceCode
|
| + * @return {boolean}
|
| + */
|
| + static isSnippetUISourceCode(uiSourceCode) {
|
| + return uiSourceCode.project().type() === Workspace.projectTypes.Snippets;
|
| + }
|
| +
|
| + /**
|
| * @override
|
| * @param {!SDK.Target} target
|
| */
|
|
|