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

Side by Side Diff: sky/framework/inspector/console-agent.sky

Issue 837933003: Convert the inspector framework to use ES6 classes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove empty ctors Created 5 years, 11 months 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 unified diff | Download patch
OLDNEW
1 <script> 1 <script>
2 function ConsoleAgent() { 2 class ConsoleAgent {
3 enable() {
4 return {
5 result: true,
6 };
7 }
3 } 8 }
4 9
5 ConsoleAgent.prototype.enable = function() {
6 return {
7 result: true,
8 };
9 };
10
11 module.exports = ConsoleAgent; 10 module.exports = ConsoleAgent;
12 </script> 11 </script>
OLDNEW
« no previous file with comments | « no previous file | sky/framework/inspector/css-agent.sky » ('j') | sky/framework/inspector/css-agent.sky » ('J')

Powered by Google App Engine
This is Rietveld 408576698