I have looked at the example for the thrift client for js in http://thrift.apache.org/tutorial/js/ - The documentation was too poor.
I have the thrift file(example.thrift) and the thrift compiler converted it to 2 .js files.One was exampleService.js and another was re_types.js.
I have added both these scripts in my html page.
As per the documentation
var transport = new Thrift.Transport("/thrift/service/tutorial/");
But i get an error in the line i add the above statement
Uncaught ReferenceError: Thrift is not defined
Iam new to thrift implementation.Am i missing something