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

Side by Side Diff: sky/framework/inspector/debug.sky

Issue 685323003: Convert more this.exports to module.exports (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Clean diff 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 | « sky/framework/inspector/css-agent.sky ('k') | no next file » | 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 logParams(name, params) { 2 function logParams(name, params) {
3 console.log(name + "(" + JSON.stringify(params, null, " ") + ")"); 3 console.log(name + "(" + JSON.stringify(params, null, " ") + ")");
4 } 4 }
5 5
6 function loggingStub(name) { 6 function loggingStub(name) {
7 return function(params) { 7 return function(params) {
8 logParams(name, params); 8 logParams(name, params);
9 } 9 }
10 } 10 }
11 11
12 this.exports = { 12 module.exports = {
13 logParams: logParams, 13 logParams: logParams,
14 loggingStub: loggingStub, 14 loggingStub: loggingStub,
15 } 15 }
16 </script> 16 </script>
OLDNEW
« no previous file with comments | « sky/framework/inspector/css-agent.sky ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698