From bfabbe7861f4db317b675873f38cc5e97e84655a Mon Sep 17 00:00:00 2001 From: loveky Date: Fri, 8 Mar 2013 09:56:53 +0800 Subject: [PATCH] move the form tag before script tag currently this demo is not working, this is because when $("form") bind "submit" event, the form tag is not in DOM yet. Need to move form before the binding. --- examples/chat.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/chat.rb b/examples/chat.rb index c65db86b..8e47b7d1 100755 --- a/examples/chat.rb +++ b/examples/chat.rb @@ -42,6 +42,9 @@ __END__ @@ chat

+
+ +
-
- -