I have a problem inserting the sizzlejs library into the _osjs.js javascript (which OutSystems creates). I did not detect which action is inserting this library. Does anyone know how the library is being inserted into _osjs.js?
Hi Eurico,
Why do you think you need to include sizzle.js? Isn't this already part of Jquery library that OutSystems includes?
It is part of JQuery and is a JS library that implements a CSS selector engine. Without it JQuery doesn't work.
Regards,
Daniel
Daniël Kuhlmann wrote:
This is the problem ... I am not including sizzlejs, but it is giving a javascript error in the execution of the page (line 25 - sizzle).
I am not sure that you can conclude that there is an error in the Sizzle library. The sizzle library generates an error as it expects an object b to be initialized as an html DOM object (which has a getAttribute function). Maybe something is passed in that does ensure variable b to be a DOM object.
Do you use custom JavaScript in your application? Maybe you did not initialize some variables correctly.
I'll check where getAttibute is running and the variables ... Thanks