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

Side by Side Diff: sky/framework/shell.sky

Issue 881093003: Normalize import paths for Sky modules (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
OLDNEW
1 <import src="/mojo/public/sky/core.sky" as="core" /> 1 <import src="/gen/mojo/public/sky/core.sky" as="core" />
2 <import src="/mojo/public/sky/connection.sky" as="connection" /> 2 <import src="/gen/mojo/public/sky/connection.sky" as="connection" />
3 <script> 3 <script>
4 function wrapHandle(handle, service, client) { 4 function wrapHandle(handle, service, client) {
5 return connection.bindProxyHandle(handle, service.client, service); 5 return connection.bindProxyHandle(handle, service.client, service);
6 } 6 }
7 7
8 function connectToService(url, service, client) { 8 function connectToService(url, service, client) {
9 var handle = internals.connectToService(url, service.name); 9 var handle = internals.connectToService(url, service.name);
10 return wrapHandle(handle, service, client); 10 return wrapHandle(handle, service, client);
11 } 11 }
12 12
13 module.exports = { 13 module.exports = {
14 connectToService: connectToService, 14 connectToService: connectToService,
15 wrapHandle: wrapHandle, 15 wrapHandle: wrapHandle,
16 }; 16 };
17 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698