Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

_condition causes very hard to find errors

ich.netich.net Members
function foo(){
    _log( "Javascript error because of condition  in one line comment \"}\"" , "info" );
    // _condition( _title() == "b:flexx PM - Aktuelle Aktivität" )
}

foo();

/* After removing "_" before "condition" in the comment and there is no JavaScript error anymore */

/* By the way: if I use the word "_condition" instead of "condition" in the String of the log-Message above, the log command won't be executed */
/*Version of Sahi: Build :  2010-11-03*/
/* Google Chrome (9.0.597.84) */

Comments

Sign In or Register to comment.