10
Views
4
Comments
Sizzlejs library error
Question

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?


mvp_badge
MVP
Rank: #18

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

mvp_badge
MVP
Rank: #18

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.