Permalink
Browse files

[sync with OPA] onload -> onready

  • Loading branch information...
François-Régis Sinot Mathieu Barbin
François-Régis Sinot authored and Mathieu Barbin committed Nov 9, 2010
1 parent bb4bdf1 commit bf048a64c5dccba6a591ee06d926b5533b14fd75
Showing with 3 additions and 3 deletions.
  1. +1 −1 draft/proto.opa
  2. +1 −1 multitub/draft/multitub_functor.opa
  3. +1 −1 multitub/multitub.opa
View
@@ -121,7 +121,7 @@ M(C : C.ARG.interface('c_state), S : S.ARG.interface('s_state)) = {{
server page() =
server = Session.make(s_init(), s_on_message)
<>
- <div id="main" onload={c_onload(server, _)}>
+ <div id="main" onready={c_onload(server, _)}>
"default page (not yet set by the client)"
</div>
</>
@@ -127,7 +127,7 @@ M(C : C.ARG.interface('c_state), S : S.ARG.interface('s_state)) = {{
server page() =
s_channel = Session.make(s_init(), s_on_message)
<>
- <div id="main" onload={c_onload(s_channel, _)}>
+ <div id="main" onready={c_onload(s_channel, _)}>
"default page (not yet set by the client)"
</div>
</>
View
@@ -307,7 +307,7 @@ type Multitub.private.C.state('state) = {
@server @private multitub_page() =
s_channel = Session.make(s_init(), s_on_message)
<>
- <div id="multitub" onload={c_onload(s_channel, _)}>
+ <div id="multitub" onready={c_onload(s_channel, _)}>
"multitub initialization..."
</div>
</>

0 comments on commit bf048a6

Please sign in to comment.