Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(753)

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js

Issue 2515763003: DevTools: use shorthand syntax in interface definitions. (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
index 8ed13e4d5501f5f6fb64369ec40b19af5ffe8ad8..e7501c6f8297d9829f596215d1ee7bd160d6f7bd 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js
@@ -1557,13 +1557,13 @@ TextEditor.TextEditorPositionHandle.prototype = {
/**
* @return {?{lineNumber: number, columnNumber: number}}
*/
- resolve: function() {},
+ resolve() {},
/**
* @param {!TextEditor.TextEditorPositionHandle} positionHandle
* @return {boolean}
*/
- equal: function(positionHandle) {}
+ equal(positionHandle) {}
};
TextEditor.CodeMirrorTextEditor._overrideModeWithPrefixedTokens('css', 'css-');
@@ -1583,7 +1583,7 @@ TextEditor.CodeMirrorMimeMode.prototype = {
/**
* @param {!Runtime.Extension} extension
*/
- install: function(extension) {}
+ install(extension) {}
};
/**

Powered by Google App Engine
This is Rietveld 408576698