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

Side by Side Diff: sky/framework/inspector/css-agent.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 | « no previous file | sky/framework/inspector/debug.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 CSS(domAgent) { 2 function CSS(domAgent) {
3 this.domAgent_ = domAgent; 3 this.domAgent_ = domAgent;
4 } 4 }
5 5
6 CSS.prototype.enable = function() { 6 CSS.prototype.enable = function() {
7 }; 7 };
8 8
9 CSS.prototype.getInlineStylesForNode = function(params) { 9 CSS.prototype.getInlineStylesForNode = function(params) {
10 return { 10 return {
(...skipping 29 matching lines...) Expand all
40 computedStyles.push({ 40 computedStyles.push({
41 "name": name, 41 "name": name,
42 "value": style.getPropertyValue(name), 42 "value": style.getPropertyValue(name),
43 }); 43 });
44 } 44 }
45 return { 45 return {
46 "computedStyle": computedStyles, 46 "computedStyle": computedStyles,
47 } 47 }
48 } 48 }
49 49
50 this.exports = CSS; 50 module.exports = CSS;
51 </script> 51 </script>
OLDNEW
« no previous file with comments | « no previous file | sky/framework/inspector/debug.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698