This file contains hidden or 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
| /* | |
| * Flickr AMD Module | |
| */ | |
| /*jslint browser: true, vars: true, white: true, forin: true, indent: 4 */ | |
| /*global define,require */ | |
| define( | |
| ['jquery'], | |
| function($){ | |
| 'use strict'; |
This file contains hidden or 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
| /** | |
| jQuery.serializeObject | |
| http://stackoverflow.com/questions/1184624/serialize-form-to-json-with-jquery/1186309#1186309 | |
| */ | |
| /*jslint browser: true, vars: true, white: true, forin: true */ | |
| /*global define,require */ | |
| (function($){ | |
| 'use strict'; | |
| $.fn.serializeObject = function() |
This file contains hidden or 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
| /* | |
| Lighweight Concertina Plugin | |
| <ul class="concertina"> | |
| <li> | |
| <h2>header</h2> | |
| <div>content</div> | |
| </li> | |
| <li> | |
| <h2>header</h2> | |
| <div>content</div> |
This file contains hidden or 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
| /* | |
| concertina | |
| ---------------------------------------------*/ | |
| .concertina { | |
| clear: both; | |
| margin: 12px 0 30px 0; | |
| padding:0; | |
| border-bottom:1px solid #d9d9d9; | |
| } | |
| .concertina:after { |
This file contains hidden or 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
| h1 { color: green; } |
This file contains hidden or 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
| /** | |
| * Move in a circle without wrapper elements | |
| * Idea by Aryeh Gregor, simplified by Lea Verou | |
| */ | |
| @keyframes rot { | |
| from { | |
| transform: rotate(0deg) | |
| translate(-150px) | |
| rotate(0deg); |
This file contains hidden or 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
| /** | |
| * Equal Heights Plugin | |
| * Equalize the heights of elements. Great for columns or any elements | |
| * that need to be the same size (floats, etc). | |
| * | |
| * Version 1.0 | |
| * Updated 12/10/2008 | |
| * | |
| * Copyright (c) 2008 Rob Glazebrook (cssnewbie.com) | |
| * |
This file contains hidden or 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
| /** | |
| * Once script to make sure a function is only run once! | |
| */ | |
| (function(global){ | |
| function once(func) { | |
| var ran = false, memo; | |
| return function() { | |
| if (ran) return memo; | |
| ran = true; |
This file contains hidden or 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
| /** | |
| jQuery.collapseContainer v0.1 | |
| Dave Taylor http://the-taylors.org | |
| @license The MIT License (MIT) | |
| */ | |
| /*global define,require */ | |
| (function($){ | |
| 'use strict'; |
This file contains hidden or 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="scene"></div> | |
| <script id="world" type="text/x-tmpl"> | |
| <span class="box"> | |
| <i class="front"></i> | |
| <i class="back"></i> | |
| </span> | |
| </script> |