3rd Party JavaScript Libraries
-
Hi,
I'm trying to use the _ (underscore.js) library in my QT project but I think I'm missing somthing. Here's what I'm doing:
@import "underscore.js" as UnderScore
data = UnderScore.invoke([[5, 1, 7], [3, 2, 1]], 'sort')
console.log(data)@However whenever the underscore function is called I get a type error:
TypeError: Property 'contains' of object [object Object] is not a function