This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YUI({ | |
base : '[...]/yui/demos/loader-config-groups/library/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
root : 'library/', | |
filter : { | |
'searchExp': '(^(?:[^&]+&[^&]+)|[^&]+)&', | |
'replaceStr': '$1,' | |
}, | |
groups : { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-sanitize"> | |
<apply executable="java" parallel="false" failonerror="true"> | |
<fileset dir="${SRC_DIR}" casesensitive="yes"> | |
<include name="**/*.js"/> | |
</fileset> | |
<arg line="-jar"/> | |
<arg path="${RESOURCE_DIR}/rhino.jar"/> | |
<arg path="${RESOURCE_DIR}/jshint-rhino.jar"/> | |
</apply> | |
</target> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-compress"> | |
<property name="YUI_COMPRESSOR" value="${RESOURCE_DIR}/yuicompressor-2.4.6.jar" /> | |
<apply executable="java" parallel="false"> | |
<fileset dir="${BUILD_DIR}" includes="${FILENAME}" /> | |
<arg line="-jar"/> | |
<arg path="${YUI_COMPRESSOR}"/> | |
<srcfile/> | |
<arg line="-o"/> | |
<mapper type="glob" from="*.js" to="${BUILD_DIR}/*.compress.js"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-conditional"> | |
<input message="Would you like to do something now?" addproperty="RESPONSE" validargs="y,n" /> | |
<condition property="-cont"> | |
<equals arg1="${RESPONSE}" arg2="y" /> | |
</condition> | |
</target> | |
<target name="-sure" if="-cont"> | |
<echo>You did something!</echo> | |
</target> |
NewerOlder