Fix JavaScript inheritance -------------------------- Key: THRIFT-1044 URL: https://issues.apache.org/jira/browse/THRIFT-1044 Project: Thrift Issue Type: Bug Components: JavaScript - Compiler, JavaScript - Library Affects Versions: 0.6 Reporter: Wade Simmons
The current JavaScript compiler has a pretty simple way of doing inheritance (just copies the prototype fields over). Node.js has a helper method for this (sys.inherits) and there are easier ways to do it in the browser too. This patch makes it easy for the browser and Node.js to each do the right thing. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.