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

Unified Diff: sky/framework/shell.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, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/framework/inspector/worker-agent.sky ('k') | sky/framework/xmlhttprequest.sky » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/framework/shell.sky
diff --git a/sky/framework/shell.sky b/sky/framework/shell.sky
index de45b7e35f41a0e9388ffc885839a9746a4301b3..838b2adaf76de648a7b592cd6da594adef2feeb2 100644
--- a/sky/framework/shell.sky
+++ b/sky/framework/shell.sky
@@ -16,7 +16,7 @@ function connectToService(url, service, client) {
return wrapHandle(handle, service, client);
}
-this.exports = {
+module.exports = {
connectToService: connectToService,
wrapHandle: wrapHandle,
};
« no previous file with comments | « sky/framework/inspector/worker-agent.sky ('k') | sky/framework/xmlhttprequest.sky » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698