Permalink
Browse files

Using new MLstate coding conventions.

  • Loading branch information...
1 parent e075dbd commit 1e2fa87edef9640a52bce21aecd8bb5648f5a113 @akoprow akoprow committed Feb 22, 2012
Showing with 7 additions and 7 deletions.
  1. +7 −7 hello-opa.opa
View
@@ -3,16 +3,16 @@ database mydb {
}
function action(_) {
- /mydb/counter <- /mydb/counter + 1;
- #msg = <>Hello, user number {/mydb/counter}!</>;
+ /mydb/counter <- /mydb/counter + 1;
+ #msg = <>Hello, user number {/mydb/counter}!</>;
}
function page() {
- <h1 onclick={action}>Hello, world</h1>
- <div id="msg">Click the header</div>
+ <h1 onclick={action}>Hello, world</h1>
+ <div id="msg">Click the header</div>;
}
Server.start(
- Server.http,
- { ~page, title: "Hello, world" }
-)
+ Server.http,
+ { ~page, title: "Hello, world" }
+);

0 comments on commit 1e2fa87

Please sign in to comment.