Author: jensg
Date: Fri Jun 5 20:18:51 2015
New Revision: 1683859
URL: http://svn.apache.org/r1683859
Log:
JavaScript tutorial was a bit unclear about the requirements.
Modified:
thrift/cms-site/trunk/content/tutorial/js.md
Modified: thrift/cms-site/trunk/content/tutorial/js.md
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/content/tutorial/js.md?rev=1683859&r1=1683858&r2=1683859&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/tutorial/js.md (original)
+++ thrift/cms-site/trunk/content/tutorial/js.md Fri Jun 5 20:18:51 2015
@@ -6,7 +6,7 @@ library_lang: "js"
### Prerequisites
-* This tutorial depends on an existing Thrift server. See either the [Java
tutorial](/tutorial/java) or [node.js tutorial](/tutorial/nodejs) for how to
build and setup one of these servers.
+* This tutorial depends on an existing Thrift server. See either the [Java
tutorial](/tutorial/java) or [node.js tutorial](/tutorial/nodejs) for how to
build and setup one of these servers. Out of the box, a Thrift HTTP server
using the JSON protocol is expected. To learn more about how to use other
transports and/or protocols refer to the "Additional Information" section below.
### Client
@@ -41,7 +41,7 @@ Use either the [Java tutorial](/tutorial
### Inspecting the generated Javascript code and HTML code
-Inside the html file is the entry point of using the Thrift.js and compiled
Javascript files. The main section code from the tutorial.html fileis the
Thrift client as shown above.
+Inside the html file is the entry point of using the Thrift.js and compiled
Javascript files. The main section code from the tutorial.html file is the
Thrift client as shown above.
The first thing for using the Thrift files is setting up your Transport
protocol. At this time, it only supports AJAX and is as follows: