Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
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.