瀏覽代碼

Missed change web-socket-js to dd80a1807758abfab4a0fde840f94c5d649e4a24.

Joel Martin 15 年之前
父節點
當前提交
094b489b76
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      include/web-socket-js/sample.html

+ 4 - 2
include/web-socket-js/sample.html

@@ -1,6 +1,5 @@
 <!--
 <!--
-  Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
-  Lincense: New BSD Lincense
+  Lincense: Public Domain
 -->
 -->
 
 
 <html><head>
 <html><head>
@@ -36,6 +35,9 @@
       ws.onclose = function() {
       ws.onclose = function() {
         output("onclose");
         output("onclose");
       };
       };
+      ws.onerror = function() {
+        output("onerror");
+      };
 
 
     }
     }