PDA

View Full Version : understanding loadScripts



jbowman
17 Nov 2006, 9:13 AM
I just want to make sure I'm understanding how you're loading scripts, Jack. It looks like you're taking the script, making a script block out of it, then appending that to header, which then runs the script, totally bypassing any need of eval? Is that right?

If that's the case, since as I'm researching more and more about javascript programming, I'm finding that most people warn against ever using eval, if this is your preferred method for not using eval?

jack.slocum
17 Nov 2006, 9:20 AM
It's being worked on right now and eval is being added in for raw script blocks. There's actually a decent thread discussion on this with more info. There were some good points made both directions.