on master help sign in
fix incosistent paths in arvo/web-apps
ee88769asssaf
docs/arvo/web-apps.md+3−3
@@ -148,7 +148,7 @@ Please pardon the awkwardness of the name 'examples-click-click', but we used it
148# Frontend
148# Frontend
149
149
150That's all that's needed for the back end. The front end is just
150That's all that's needed for the back end. The front end is just
151−some "sail" html (Hoon markup for XML) and javascript. Here's `/web/click.hoon`:
151+some "sail" html (Hoon markup for XML) and javascript. Here's `/web/pages/examples/click.hoon`:
152
152
153```
153```
154;html
154;html
@@ -163,7 +163,7 @@ some "sail" html (Hoon markup for XML) and javascript. Here's `/web/click.hoon`
163 ;div#err(class "disabled");
163 ;div#err(class "disabled");
164 ;div#clicks;
164 ;div#clicks;
165 ==
165 ==
166− ;script(type "text/javascript", src "/click/main.js");
166+ ;script(type "text/javascript", src "/pages/examples/click/click.js");
167 ==
167 ==
168==
168==
169```
169```
@@ -177,7 +177,7 @@ To view the frontend, point your browser at `ship-name.urbit.org/~~/pages/exampl
177We have a button labeled "Poke!" and a div with id `clicks` where
177We have a button labeled "Poke!" and a div with id `clicks` where
178we'll put the number of clicks. We also include a small
178we'll put the number of clicks. We also include a small
179javascript file where the client-side application logic can be
179javascript file where the client-side application logic can be
180−found. It's in `/web/pages/examples/click.js`:
180+found. It's in `/web/pages/examples/click/click.js`:
181
181
182```
182```
183
183