Rev | Line | |
---|
[483] | 1 | //>>includeStart("foo", kwArgs.loader == "xdomain"); |
---|
| 2 | This content is included if kwArgs.loader == "xdomain" |
---|
| 3 | //>>includeEnd("foo"); |
---|
| 4 | |
---|
| 5 | //This is an exclusion test |
---|
| 6 | //>>excludeStart("test2", kwArgs.loader == "xdomain"); |
---|
| 7 | This content is excluded if kwArgs.loader == "xdomain" |
---|
| 8 | //>>excludeEnd("test2"); |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | //This is a nested test. |
---|
| 12 | //>>includeStart("outerMatch", kwArgs.shouldInclude); |
---|
| 13 | This content is included if kwArgs.shouldInclude evals to true. |
---|
| 14 | //>>includeStart("innerMatch", kwArgs.nesting == 1); |
---|
| 15 | This is a nested include if kwArgs.nesting == 1 |
---|
| 16 | //>>includeEnd("innerMatch"); |
---|
| 17 | //>>includeEnd("outerMatch"); |
---|
Note: See
TracBrowser
for help on using the repository browser.