Javascript Callback when variable is set to X
- by Erik
Hey everyone,
Have an issue I can't seem to wrap my head around. I'm wanting to write a generic javascript function that will accept a variable and a callback, and continue to execute until that variable is something other than false.
For example, the variable SpeedFeed.user.sid is false until something else happens in the code, but I don't want…