Skip to content

Instantly share code, notes, and snippets.

View tysoncadenhead's full-sized avatar
🚀

Tyson Cadenhead tysoncadenhead

🚀
View GitHub Profile
/*
* ApplicationJS 1.0
*
* Copyright 2010, Tyson Cadenhead
* Dual licensed under the MIT or GPL Version 2 licenses.
*
* Date: Wed Dec 15 19:04:53 2010 -0500
*/
var Application = function(){
<div id="example">
<a href="images/1l.jpg" title="1 title" thumb="images/1s.jpg"><img src="images/1m.jpg" alt="1 desc" /></a>
<a href="images/2l.jpg" title="2 title" thumb="images/2s.jpg"><img src="images/2m.jpg" alt="2 desc" /></a>
<a href="images/1l.jpg" title="1 title" thumb="images/1s.jpg"><img src="images/1m.jpg" alt="1 desc" /></a>
<a href="images/2l.jpg" title="2 title" thumb="images/2s.jpg"><img src="images/2m.jpg" alt="2 desc" /></a>
</div>
<script type="text/javascript">
$('#example').overlayGallery();
</script>
<div id="example"></div>
<script type="text/javascript">
$('#example').overlayGallery({
items: [{
small: 'img/small1.jpg'
medium: 'img/medium1.jpg',
large: 'img/large1.jpg',
title: 'Title for slide 1',
description: 'Description for slide 1'
},{
var server = require('./server');
server.listen(3000);
const Container = styled.View`
background-color: {props => props.theme.primaryBackgroundColor};
`;
const result = props => R.path(['theme', 'primaryBackgroundColor'], props);
const result = props => props.theme.primaryBackgroundColor;
const result = props => R.path(['theme', 'primaryBackgroundColor'])(props);
const result = R.path(['theme', 'primaryBackgroundColor']);
const Container = styled.View`
background-color: ${R.path(['theme', 'primaryBackgroundColor'])};
`;