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
Uncaught TypeError: undefined is not a function in dutableVisual.js #3
Comments
Hi Armando, thanks a lot for your interest in durable_rules. Let me look into this issue tomorrow morning. I have been heads down improving the engine and writing the language abstractions, so I haven't got to update the documentation. Jesus Ruiz Date: Sun, 9 Nov 2014 18:54:58 -0800 Hello Jesus I am trying to use Durable Rules on a Mac by using the Setup and Tutorial instructions but when I open the browser on http://localhost:5000/approve/1/admin.html I get a blank page and 'Uncaught TypeError: undefined is not a function' on Chromes console. The above error message makes reference to durableVial.js:1616 which contains: history.onNewRecord(addHistoryRecord); Do you have any idea about what might be wrong? I am using redis 2.8.16 and node 0.10.26 Thank you for you help and thank yoy for sharing such an interesting project Armando —
|
Hi Armando, thank you for reporting this issue. I have checked in and published a fix for the problem. Please give it a try (delete your test directory and redo the 'First App' section in the setup instructions). The code below broke in the latest chrome version (as it collides with the global history object). You can also fix this in place by going to node-modules/durable/libjs/admin.html and renaming the history variable so it doesn't collide (something like theHistory). var history = promiseHistory(url);
promiseGraph(url, history).createVisual(query.size ,function(err) {
if (!query.disableScratchpad) {
var pad = scratchPad(url, history)
if (err) {
pad.setStatus(err.error);
}
}
}); |
Hello Jesus, thank you for looking into this. I noticed that you made some changes so I started testing in Safari (for now). I will continue to explore durable_rules. I will be glad to help you in any way I can but I need to become more familiar with durable_rules. I'll stay in touch, thanks again! |
Cool, yes please stay in touch. let I'm in AWS conference this week, I think there is a lot of potential. These are some of the large items in my TODO list (I'll be progressing on them one by one).
Sent from my phone
|
Hello Jesus
I am trying to use Durable Rules on a Mac by using the Setup and Tutorial instructions but when I open the browser on http://localhost:5000/approve/1/admin.html I get a blank page and 'Uncaught TypeError: undefined is not a function' on Chromes console.
The above error message makes reference to durableVial.js:1616 which contains:
history.onNewRecord(addHistoryRecord);
Do you have any idea about what might be wrong?
I am using redis 2.8.16 and node 0.10.26
Thank you for you help and thank yoy for sharing such an interesting project
Armando
The text was updated successfully, but these errors were encountered: