Page 1 of 1

commons.js location

Posted: Mon Aug 08, 2016 11:01 pm
by steve.cuzner
at https://www.oxygenxml.com/doc/versions/ ... commons.js there is a note that says:
If you have a script called commons.js in the framework directory, you can call functions defined inside it from your custom script content so that you can use that external script file as a library of functions.
Where exactly in the framework directory should it go?

Re: commons.js location

Posted: Tue Aug 09, 2016 4:03 pm
by steve.cuzner
More specifically, does it have to be in the root of the framework folder or does it simply need to be in a folder on the classpath?

Re: commons.js location

Posted: Tue Aug 09, 2016 4:24 pm
by alex_jitianu
Hi,

It has to be in the root of the framework folder. That's the only place where we will look for it. I understand your predicament as for other settings we recommend to add the folder inside classpath so I will update the documentation to make this clear.

Best regards,
Alex