Xebium
Xebium copied to clipboard
default expectation for 'waitForEval'
I use
|ensure|do|waitForEval|on|someCondition(someParameter)|with|true|
It would be nice if we could somehow make 'true' the default expectation, so I could drop the 'with true' here.
Isn't using eval an evil thing in itself?
Why? I for example use it to wait until all AJAX-request are cleared from the jQuery AJAX pipeline.
I think being able to call/evaluate JavaScript from Xebium is powerful and useful, not sure why it should be evil.
(of course you shouldn't use it to execute code strings inside your JavaScript code, but that's a different matter)