Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: convertedFunction is not defined #10

Open
jasonify opened this issue Jan 30, 2014 · 7 comments
Open

ReferenceError: convertedFunction is not defined #10

jasonify opened this issue Jan 30, 2014 · 7 comments

Comments

@jasonify
Copy link

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

@dpnishant
Copy link
Owner

​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 notifications@github.com 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//issues/10
.

@jasonify
Copy link
Author

Hey,

No, neither seem to work unfortunately. The browser version hangs and crashes the tab / window.

Really cool effort for this project.

@btoews
Copy link

btoews commented Mar 28, 2014

The array just isn't defined anywhere in the file. Not sure what that line is supposed to say...

@sarathisahoo
Copy link

It is defined on analyzer.js file and that was included in HTML.

On Sat, Mar 29, 2014 at 2:41 AM, Ben Toews notifications@github.com 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//issues/10#issuecomment-38968507
.

@btoews
Copy link

btoews commented Mar 29, 2014

Yeah, the non-node version seems to work better.

@sarathisahoo
Copy link

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 notifications@github.com wrote:

Yeah, the non-node version seems to work better.

Reply to this email directly or view it on GitHubhttps://github.com//issues/10#issuecomment-38992059
.

@TejaswiniU
Copy link

Add ** exports.convertedFunction= convertedFunction;** in analyzer.js
This would work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants