I am using JavaScript, JQuery and JSTree in a project. I would love to use Firefox Scratchpad to incrementally develop this project. Unfortunately, Scratchpad does not sense jstree.js.
Please suggest me how to integrate other jquery libraries into Scratchpad. Or is there any alternative to Scratchpad which can do this.
Edit: I had two files, one index.html which has all the html code and I am importing jquery and jstree in this file. Another file index.js which has all js, jquery and jstree code.
Now I know the problem could be that it needs to be served from a Tomcat server and that is Scratchpad is giving me that error. I forgot to add that error to this question, here it is:
/*
Exception: SyntaxError: '[object HTMLDocument]' is not a valid selector
@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/server/actors/utils/webconsole-utils.js:670:0
*/
I added this to Tomcat and Firefox Scratchpad is firing all well.
Thanks for your advice.
thanks and regards
BB23850