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> |
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="-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
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
YUI({ | |
base : '[...]/yui/demos/loader-config-groups/library/', | |
combine : true, | |
comboBase : '[...]/combo/?b=yui/demos/loader-config-groups&f=', | |
root : 'library/', | |
groups : { | |
gallery : { | |
base : '[...]/yui/demos/loader-config-groups/gallery/', | |
root : 'gallery/', | |
combine : true, |
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
<koken:pulse jsvar="pulse" fallbacktext="No featured photos found. Please assign them in the Library." /> | |
<div id="exif-text"></div> | |
<script> | |
pulse.on( 'transitionstart', function(e) { | |
var exif_fields = ['make','model','aperture'], // Insert the exif fields you would like shown eg. 'make','model','aperture' | |
exif_element = $('#exif-text'), // Change to the selector of where to insert the exif data | |
wrap = $('<span/>'); // Change to whatever tag the exif field should be wrapped with |
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
<koken:if false="pjax"> | |
<koken:include file="inc/head.html" /> | |
</koken:not> | |
<koken:load infinite="true"> | |
<koken:head> | |
<meta property="og:site_name" content="{{ site.title }}" /> | |
<meta property="og:title" content="{{ album.title strip_html="true" }}" /> | |
<meta property="og:description" content="{{ album.summary strip_html="true" }}" /> |
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
(function() { | |
var overlay = $('<div class="__overlay__" />').css({ | |
padding: '10px', | |
opacity: '.5', | |
background: '#000', | |
color: '#fff', | |
textAlign: 'right', | |
position: 'absolute', | |
fontSize: '11px' | |
}) |
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
<div id="pulse_strip"> | |
<!-- Ideally you will want to use a loop here to create the ID's so they are dynamic and not hardcoded --> | |
<a href="" data-id="1"><span>1</span></a> | |
<a href="" data-id="2"><span>2</span></a> | |
<a href="" data-id="3"><span>3</span></a> | |
</div> | |
<p> | |
<koken:pulse jsvar="pulse" autostart="false" fallbacktext="No featured content found. Please assign some in the Library." /> | |
</p> |
OlderNewer