You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/util/buildscripts/tests/conditionalTest.txt

18 lines
604 B
Plaintext

//>>includeStart("foo", kwArgs.loader == "xdomain");
This content is included if kwArgs.loader == "xdomain"
//>>includeEnd("foo");
//This is an exclusion test
//>>excludeStart("test2", kwArgs.loader == "xdomain");
This content is excluded if kwArgs.loader == "xdomain"
//>>excludeEnd("test2");
//This is a nested test.
//>>includeStart("outerMatch", kwArgs.shouldInclude);
This content is included if kwArgs.shouldInclude evals to true.
//>>includeStart("innerMatch", kwArgs.nesting == 1);
This is a nested include if kwArgs.nesting == 1
//>>includeEnd("innerMatch");
//>>includeEnd("outerMatch");