Chromium Code Reviews| Index: Source/devtools/front_end/ui/UIUtils.js |
| diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js |
| index 186c55e628b4a507ac443b2cba3f734259ee340c..e4777285f7ce30003e4961b1ef471d0ccaa348bb 100644 |
| --- a/Source/devtools/front_end/ui/UIUtils.js |
| +++ b/Source/devtools/front_end/ui/UIUtils.js |
| @@ -1136,6 +1136,20 @@ WebInspector.LongClickController.prototype = { |
| } |
| /** |
| + * @param {string} article |
| + * @param {string} title |
| + * @return {!Element} |
| + */ |
| +WebInspector.createDocumentationAnchor = function(article, title) |
|
vsevik
2014/10/23 15:00:03
I would remove Documentation aspect from this meth
|
| +{ |
| + var anchor = createElementWithClass("a", "documentation-link"); |
| + anchor.href = "https://developer.chrome.com/devtools/docs/" + article; |
| + anchor.target = "_blank"; |
| + anchor.createTextChild(title); |
| + return anchor; |
| +} |
| + |
| +/** |
| * @param {!Window} window |
| */ |
| WebInspector.initializeUIUtils = function(window) |