I hereby claim:
- I am mcaskill on github.
- I am mcaskill (https://keybase.io/mcaskill) on keybase.
- I have a public key whose fingerprint is 9474 2586 E6F7 677D 17C4 E829 C11C ADAB BFC1 D36C
To claim this, I am signing this object:
@import '_zindex.scss' | |
.modal { | |
z-index: index($site-order, modals); | |
.field { | |
z-index: index($modal-order, fields); | |
} | |
.form-controls { |
<?php | |
/** | |
* Check if the current variable is set, and is not NULL, in the WP_Query class. | |
* | |
* @see WP_Query::$query_vars | |
* @uses $wp_query | |
* | |
* @param string $var The variable key to be checked. | |
* @return bool True if the current variable is set. |
I hereby claim:
To claim this, I am signing this object:
$mq-jacket-support: has-mediaqueries !default; | |
$mq-jacket-legacy: has-no-mediaqueries !default; | |
$jacket: append($jacket, $mq-jacket-support) !default; | |
/// Jacket MQ | |
/// | |
/// Create a `@media` query based on a named-breakpoint and | |
/// possibly ignore the wrapper based on the context of $jacket. | |
/// |
/** | |
* Checks for support of the autoplay attribute of the video element. | |
* | |
* Adapted to work for Modernizr 2, based on the detection feature for Modernizr 3. | |
* | |
* @link https://github.com/Modernizr/Modernizr/blob/8d2cb3c92e33c36ed3fd8a5ea6e198b3b26ad07a/feature-detects/video/autoplay.js | |
*/ | |
Modernizr.addTest('videoautoplay', function(){ | |
var timeout; |
<?php | |
/** | |
* Parse ReCAPTCHA API verion 2.0 error codes. | |
* | |
* @uses mcaskill\ReCAPTCHA or jmcastagnetto\ReCAPTCHA | |
* @link https://developers.google.com/recaptcha/docs/verify Error code reference | |
* | |
* @param mixed $response A Google\ReCaptcha\Response or null | |
* @param array $arr If the second parameter $arr is present, error messages are stored in this variable as associative array elements instead. |
<?php | |
/** | |
* Load a template part into a template | |
* | |
* Makes it easy for a theme to reuse sections of code in a easy to overload way | |
* for child themes. | |
* | |
* Includes the named template part for a theme or if a name is specified then a | |
* specialised part will be included. If the theme contains no {slug}.php file |
/* global jQuery */ | |
/** | |
* Simple Checkbox Toggling | |
* | |
* Hands-free checked/unchecked toggling for all checkboxes. | |
* | |
* Requirements: | |
* - jQuery | |
* - `name="foo[]"` -- Name attribute must assign checked values to an array. |
<?php | |
if (!function_exists('array_insert')) { | |
/** | |
* Insert an array into another array before/after a certain key | |
* | |
* Merge the elements of the $array array after, or before, the designated $key from the $input array. | |
* It returns the resulting array. | |
* | |
* @param array $input The input array. |