Skip to content

Instantly share code, notes, and snippets.

View sgarrity's full-sized avatar

Steven Garrity sgarrity

View GitHub Profile
// Call Gridder
$('.ian-content').gridderExpander({
scroll: true,
scrollOffset: 30,
scrollTo: "listitem", // panel or listitem
animationSpeed: 400,
animationEasing: "easeInOutExpo",
showNav: true, // Show Navigation
nextText: "Next", // Next button text
prevText: "Previous", // Previous button text
<!-- which is the preferred naming convention for nested elements of a component? -->
<!-- A. Explicitely name child elements -->
<div class="news-banner">
<h3 class="news-banner__title"></h3>
<div class="news-banner__contents">
<p>foo</p>
<p>bar</p>
</div>
</div>
@sgarrity
sgarrity / gist:91c9a4920177bb5dddd3
Last active September 1, 2015 14:41
Wrap string for l10n Sublime Text snippet (for mozilla Bedrock templates)
<snippet>
<content><![CDATA[{{ _('$SELECTION') }}]]></content>
<description>Wrap string for l10n</description>
</snippet>
<p>Foo...</p>
<pre>
bar
</pre>
<p>Foo...</p>
/thunderbird/[VERSION]/details/index.html
/thunderbird/[VERSION]/whatsnew/index.html
/thunderbird/[VERSION]/start/index.html
/thunderbird/[VERSION]/index.html
/thunderbird/3.1/starteol/index.html
/thunderbird/3.1/starteol2/index.html
/thunderbird/features/index.html
/thunderbird/index.html
/thunderbird/release/start/index.html
/thunderbird/2.0.0.0/eula/index.html
./ach/404.html
./af/404.html
./ar/404.html
./as/404.html
./ast/404.html
./be/404.html
./bg/404.html
./bn-BD/404.html
./bn-IN/404.html
./br/404.html
$ bin/start-bedrock-mysql
+ trap 'trap - SIGTERM && kill -- -2188' SIGINT SIGTERM EXIT
+ BIN=bin
+ PROJECT=mozorg
+ BEDROCK_PATH=/app
+ '[' -e bin/../.env ']'
+ . bin/bedrock-init
++ '[' '!' ']'
++ BIN=bin
++ export BEDROCK=bin/../apache/bedrock/base/bedrock
diff --git a/media/js/mozorg/content-services-form.js b/media/js/mozorg/content-services-form.js
index 96b4b97..c1242a7 100644
--- a/media/js/mozorg/content-services-form.js
+++ b/media/js/mozorg/content-services-form.js
@@ -14,6 +14,7 @@
var $country = $('#country');
var $stateField = $('.state-field');
+ var $stateFlydown = $('#state');
var $provinceField = $('.province-field');
.hippo-products.open .container {
opacity: 1;
transition: .2s all ease-in-out;
transform: translateY(0);
transform: scale(1);
}
.hippo-products .container {
opacity: 0;
transition: .2s all ease-in-out;
NameError at /firefox/os/
global name 'LANG' is not defined
Request Method: GET
Request URL: http://localhost:8000/fr/firefox/os/
Django Version: 1.6.10
Exception Type: NameError
Exception Value: