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

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

Issue 687263005: Use module.exports rather than this.exports (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | sky/framework/inspector/dom-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 function ConsoleAgent() {
3 } 3 }
4 4
5 ConsoleAgent.prototype.enable = function() { 5 ConsoleAgent.prototype.enable = function() {
6 return { 6 return {
7 result: true, 7 result: true,
8 }; 8 };
9 }; 9 };
10 10
11 this.exports = ConsoleAgent; 11 module.exports = ConsoleAgent;
12 </script> 12 </script>
OLDNEW
« no previous file with comments | « no previous file | sky/framework/inspector/dom-agent.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698