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 words = [" a fortiori", "a mensa et thoro", "a posteriori", "a priori", "a quo", "ab extra", "ab initio", "absque hoc", "Actori incumbit probatio", "actus reus", "ad coelum", "ad colligenda bona", "ad hoc", "ad hominem", "ad idem", "ad infinitum", "ad litem", "ad quod damnum", "ad valorem", "adjournment sine die", "affidavit", "alter ego", "amicus curiae", "animus nocendi", "animus possidendi", "animus revertendi", "ante", "arguendo", "Audi alteram partem", " bona fide", "bona vacantia", " Cadit quaestio", "Casus belli", "casus fortuitus", "Caveat", "Caveat emptor", "Certiorari", "Ceteris paribus", "cogitationis poenam nemo patitur", "compensatio morae", "compos mentis", "Condicio sine qua non", "consensus ad idem", "consensus facit legem", "consuetudo pro lege servatur", "contra", "contra bonos mores", "contra legem", "Contradictio in adjecto", "contra proferentem", "coram non judice", "corpus delicti", "corpus juris", "corpus juris civilis", "corpus juris gentium", "corpus juris secund |
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() { | |
window.addEventListener("DOMContentLoaded", function() { | |
//Use live-node-lists here so we don't have to query the DOM everytime polyPict runs. | |
var picturesLNL = document.getElementsByTagName("picture"), | |
imgLNL = document.getElementsByTagName("img"), | |
size2Px = (function() { | |
var testEl = document.createElement("div"); | |
testEl.style.position = "absolute"; | |
testEl.style.zIndex = -1000; |
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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
$positions: (top, right, bottom, left); | |
.stretch { | |
position: absolute; | |
@each $pos in $positions { |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
//Media Queries | |
$mq-size--small: 42em; | |
$mq-size--med: 47.5em; | |
$mq-size--large: 56.25em; |
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
// ---- | |
// Sass (v3.3.14) | |
// Compass (v1.0.1) | |
// ---- | |
.full { | |
@each $pos in ("top", 'left', bottom, right) { | |
#{$pos}: 0; | |
} | |
} |
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
{ | |
"registry": { | |
"register": "http://bower.ldschurch.org" | |
} | |
} |
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
# top-most EditorConfig file | |
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
charset = utf-8 | |
indent_style = space | |
indent_size = 4 |
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
exposure = function () { | |
/* | |
RETURNS: An exposure URL which returns the specified image resized to specified height and width | |
ARGUMENTS: object || url:string [, height:string||int] [, width:string||int] | |
The exposure method takes either an object or one or more strings as arguments. | |
A value of "0" for "width" or "height" indicates that exposure should use a value | |
that maintains the image's native aspect ratio. |
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
/************* | |
* Custom siteName functionality | |
* window.location.siteName reduces a either the documents url or a | |
* given url to the top most site name. | |
* i.e. photography.nataionalgeographic.com would return nationalgeographic.com, | |
* mysubdomain.mywebsite.co.uk would return mywebsite.co.uk. | |
***********/ | |
if (typeof window.location.siteName === 'undefined') { | |
window.location.siteName = function (url) { | |
var hostName = url || window.location.hostname, |
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 (window, document, $, undefined) { | |
var module, moduleName, stash, unstash, noconflict, oldGlobal; | |
moduleName = 'infiniteStash'; | |
stash = function (containerNode, numNodesToStash, after) { | |
var side = (after === true || after === 'after') ? 'after' : 'before', | |
// set is uesd to stash all node up to the next element. | |
// This preserves text nodes (white space) and comment nodes |
OlderNewer