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

Side by Side Diff: sky/framework/inspector/page-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 | « sky/framework/inspector/indexeddb-agent.sky ('k') | sky/framework/inspector/runtime-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 Page() { 2 function Page() {
3 } 3 }
4 4
5 Page.prototype.enable = function() { 5 Page.prototype.enable = function() {
6 }; 6 };
7 7
8 Page.prototype.canScreencast = function() { 8 Page.prototype.canScreencast = function() {
9 return { 9 return {
10 result: false 10 result: false
(...skipping 16 matching lines...) Expand all
27 "loaderId": 1, 27 "loaderId": 1,
28 "url": document.URL, 28 "url": document.URL,
29 "mimeType": "text/html", 29 "mimeType": "text/html",
30 "securityOrigin": document.URL, 30 "securityOrigin": document.URL,
31 }, 31 },
32 "resources": [], // FIXME 32 "resources": [], // FIXME
33 } 33 }
34 }; 34 };
35 }; 35 };
36 36
37 this.exports = Page; 37 module.exports = Page;
38 </script> 38 </script>
OLDNEW
« no previous file with comments | « sky/framework/inspector/indexeddb-agent.sky ('k') | sky/framework/inspector/runtime-agent.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698