Closed farism closed 10 years ago
Could you please provide an example of code that I can use to reproduce the error? Thanks!
Sure. This is the simplest example I could come up with. ColdFusion v10,283922
The problem is that on line 1: <cfset _ = CreateObject('Underscore')>
you are using CreateObject()
without calling the init()
method. You can change it to <cfset _ = CreateObject('Underscore').init()>
or use the new
syntax: <cfset _ = new Underscore()>
Great, thanks for the quick responses!
hey no prob! let me know if you run into any other problems
When trying to use any underscore function that depends another underscore function I get an error
it seems that it is trying to access the _ in the variables scope set on line 14
This is on cf10 windows 7. I'm not the most familiar with Coldfusion, and scopes still seem a mystery to me.