[Groonga-commit] droonga/droonga.org at f8134fd [gh-pages] Remove description about "alert()"

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Sep 10 16:36:06 JST 2013


YUKI Hiroshi	2013-09-10 16:36:06 +0900 (Tue, 10 Sep 2013)

  New Revision: f8134fd1206a668780a22058198065e3855d7bda
  https://github.com/droonga/droonga.org/commit/f8134fd1206a668780a22058198065e3855d7bda

  Message:
    Remove description about "alert()"

  Modified files:
    tutorial/index.md

  Modified: tutorial/index.md (+2 -2)
===================================================================
--- tutorial/index.md    2013-09-10 16:34:39 +0900 (d248991)
+++ tutorial/index.md    2013-09-10 16:36:06 +0900 (b6fb526)
@@ -438,7 +438,7 @@ index.html:
       </body>
     </html>
 
-`socket.emit()` でクエリを送信します。クエリの処理が完了し、結果が戻ってくると、 `socket.on('search.result', ...)` のコールバックが呼ばれ、alert にその結果が表示されます。
+`socket.emit()` でクエリを送信します。クエリの処理が完了し、結果が戻ってくると、 `socket.on('search.result', ...)` のコールバックが呼ばれ、ページ内にその結果が表示されます。
 
 `socket.emit()` の第1引数 `'search'` は、このリクエストが検索リクエストであることを指定しています。
 第2引数でどのような検索を行うかを指定しています。
@@ -473,7 +473,7 @@ Web ブラウザにサーバの IP アドレスを入れて、リクエストを
 以降、サーバの IP アドレスが `192.0.2.1` であったとします。
 `http://192.0.2.1:3000/` をリクエストすると、先の `index.html` が返されるようになります。
 
-Webブラウザから `http://192.0.2.1:3000` を開いてみてください。以下のように検索結果が alert で表示されれば成功です。
+Webブラウザから `http://192.0.2.1:3000` を開いてみてください。以下のように検索結果が表示されれば成功です。
 
     {"result":{"count":36,"records":[["根津のたいやき"],["たい焼 カタオカ"],["そばたいやき空"],["車"],["広瀬屋"],["さざれ"],["おめで鯛焼き本舗錦糸町東急店"],["尾長屋 錦糸町店"],["たいやき工房白家 阿佐ヶ谷店"],["たいやき本舗 藤家 阿佐ヶ谷店"]],"startTime":"2013-08-28T08:42:25+00:00","elapsedTime":0.0002415180206298828}}
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index