sample skeleton application with dojo toolkit & arcgis js api v 4.30
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
617 B

//Test file for the flattening of CSS files.
//Run this file from the util/buildscripts/tests/css directory.
//Example call to run the test:
//java -classpath ../../../shrinksafe/js.jar org.mozilla.javascript.tools.shell.Main flattenTest.js
load("../../jslib/logger.js");
load("../../jslib/buildUtil.js");
load("../../jslib/fileUtil.js");
var result = buildUtil.flattenCss( "blue/one.css", fileUtil.readFile("blue/one.css"));
/* Copy the blue folder to a folder called temp then try this command
(warning, it modifies the folder contents
var result = buildUtil.optimizeCss("temp", "comments");
*/
print(result);