jsprime
jsprime copied to clipboard
ReferenceError: convertedFunction is not defined
I just tried out the node server.js with some code (about 2k loc):
ReferenceError: convertedFunction is not defined
/home/jason/playground/jsprime/jsprime-node/engine.js:149
convertedFunction.push(newFunction2);
^
ReferenceError: convertedFunction is not defined
at Object.asignFunctionReturnValue (/home/jason/playground/jsprime/jsprime-node/engine.js:149:13)
at IncomingMessage.
Any ideas?
Thanks
Hi Jason,
Does it work in the browser version?
Thanks
Best Regards!
Nishant Das Patnaik
On Fri, Jan 31, 2014 at 3:39 AM, Jason [email protected] wrote:
I just tried out the node server.js with some code (about 2k loc):
ReferenceError: convertedFunction is not defined
/home/jason/playground/jsprime/jsprime-node/engine.js:149 convertedFunction.push(newFunction2); ^ ReferenceError: convertedFunction is not defined at Object.asignFunctionReturnValue (/home/jason/playground/jsprime/jsprime-node/engine.js:149:13) at IncomingMessage. (/home/jason/playground/jsprime/jsprime-node/server.js:71:18) at IncomingMessage.EventEmitter.emit (events.js:92:17) at _stream_readable.js:920:16 at process._tickCallback (node.js:415:13)
Any ideas?
Thanks
— Reply to this email directly or view it on GitHubhttps://github.com/dpnishant/jsprime/issues/10 .
Hey,
No, neither seem to work unfortunately. The browser version hangs and crashes the tab / window.
Really cool effort for this project.
The array just isn't defined anywhere in the file. Not sure what that line is supposed to say...
It is defined on analyzer.js file and that was included in HTML.
On Sat, Mar 29, 2014 at 2:41 AM, Ben Toews [email protected] wrote:
The array just isn't definedhttps://github.com/dpnishant/jsprime/blob/master/jsprime-node/engine.js#L149. Not sure what that line is supposed to say...
Reply to this email directly or view it on GitHubhttps://github.com/dpnishant/jsprime/issues/10#issuecomment-38968507 .
Yeah, the non-node version seems to work better.
No further development happened from the core team.....That is the reason, And I'm sorry as a core member can't give enough time for the development :(
On Sat, Mar 29, 2014 at 4:08 PM, Ben Toews [email protected] wrote:
Yeah, the non-node version seems to work better.
Reply to this email directly or view it on GitHubhttps://github.com/dpnishant/jsprime/issues/10#issuecomment-38992059 .
Add ** exports.convertedFunction= convertedFunction;** in analyzer.js This would work