source:
Dev/trunk/src/client/util/buildscripts/tests/conditionalTest.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 413 bytes |
Line | |
---|---|
1 | //Test file for the conditional comment inclusion/exclusion code. |
2 | //Run this file from the util/buildscripts/tests directory. |
3 | |
4 | load("../jslib/fileUtil.js"); |
5 | load("../jslib/logger.js"); |
6 | load("../jslib/buildUtil.js"); |
7 | |
8 | |
9 | |
10 | |
11 | var result = buildUtil.processConditionals( |
12 | "conditionalTest.txt", |
13 | fileUtil.readFile("conditionalTest.txt"), |
14 | { |
15 | loader: "xdomain", |
16 | shouldInclude: true, |
17 | nesting: 1 |
18 | } |
19 | ); |
20 | |
21 | print(result); |
Note: See TracBrowser
for help on using the repository browser.