Closed jsalvatier closed 8 years ago
If you're talking about webppl code (as opposed to js code), it's using underscore (1.8.3).
Ah, okay, that makes sense. I tried defining a function get in gridworld.js and then accessing it via GridWorld.get which also didn't work. What am I misunderstanding?
Did you add it to module.exports
in the same file?
Yes
On Thu, Mar 3, 2016 at 5:51 PM Andreas Stuhlmüller notifications@github.com wrote:
Did you add it to module.exports in the same file?
— Reply to this email directly or view it on GitHub https://github.com/agentmodels/webppl-gridworld/issues/18#issuecomment-192054255 .
When I run with
webppl --require webppl-timeit --require webppl-dp -require . tests/hyperbolic.sh
I get an error about .get not being a function (I make this reference to .get), but as far as I can tell lodash 4.6.1 should have _.get.