You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by he...@apache.org on 2014/07/01 12:19:33 UTC
svn commit: r1607033 - /thrift/cms-site/trunk/content/tutorial/js.md
Author: henrique
Date: Tue Jul 1 10:19:33 2014
New Revision: 1607033
URL: http://svn.apache.org/r1607033
Log: (empty)
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=1607033&r1=1607032&r2=1607033&view=diff
==============================================================================
--- thrift/cms-site/trunk/content/tutorial/js.md (original)
+++ thrift/cms-site/trunk/content/tutorial/js.md Tue Jul 1 10:19:33 2014
@@ -110,9 +110,9 @@ Unfortunately, the Javascript object isn
#### jQuery API
-jQuery aware JS source files can generated using the *jq* compiler option:
+jQuery aware JS source files can generated using the *jquery* compiler option:
- thrift --gen js:jq tutorial.thrift
+ thrift --gen js:jquery tutorial.thrift
This does not change the default behavior of the library, i.e. service calls will be done synchronously. However, services will start using jQuery.ajax when a callback function is provided as showed below.