THRIFT-2849: spelling errors fixed using codespell tool
Client: All
Patch: Anatol Pomozov
This closes #281
diff --git a/lib/js/src/thrift.js b/lib/js/src/thrift.js
index 7a18206..79c921c 100644
--- a/lib/js/src/thrift.js
+++ b/lib/js/src/thrift.js
@@ -1220,7 +1220,7 @@
/** Returns an object with a value property set to
* False unless the next number in the protocol buffer
- * is 1, in which case teh value property is True */
+ * is 1, in which case the value property is True */
readBool: function() {
var r = this.readI32();
diff --git a/lib/js/test/test.js b/lib/js/test/test.js
index 1504f62..59b0876 100755
--- a/lib/js/test/test.js
+++ b/lib/js/test/test.js
@@ -27,7 +27,7 @@
* Normal and jQuery interfaces. All synchronous tests belong
* here.
*
- * Asynchronous sucess callbacks passed as the last parameter
+ * Asynchronous success callbacks passed as the last parameter
* of an RPC call should be identical in both Normal and jQuery
* interfaces. Async success tests belong here.
*