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

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: prevent extensions 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
« no previous file with comments | « no previous file | sky/framework/inspector/css-agent.sky » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script> 1 <script>
2 function ConsoleAgent() { 2 class ConsoleAgent {
3 constructor() {
4 Object.preventExtensions(this);
5 }
6
7 enable() {
8 return {
9 result: true,
10 };
11 }
3 } 12 }
4 13
5 ConsoleAgent.prototype.enable = function() {
6 return {
7 result: true,
8 };
9 };
10
11 module.exports = ConsoleAgent; 14 module.exports = ConsoleAgent;
12 </script> 15 </script>
OLDNEW
« no previous file with comments | « no previous file | sky/framework/inspector/css-agent.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698