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
/** | |
* For slackers... Quick methos selectors pluggin dealing with attribute names and values. | |
* @author David Marsalone | |
* @example $(".myslector").findByAttr("my-attribute-name","my attribute value"); | |
* @example $(".myslector").filterByAttr("my-attribute-name","my attribute value"); | |
*/ | |
(function ( $ ) { | |
/** | |
* Quick method to get the descendants of each element in the current set of matched elements, filtered by an attribute name and its value | |
* @param {string} attributeName The attribute name you are looking for. |
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
// -------------------------------------------------- | |
// Flexbox LESS mixins | |
// The spec: http://www.w3.org/TR/css3-flexbox | |
// -------------------------------------------------- | |
// Flexbox display | |
// flex or inline-flex | |
.flex-display(@display: flex) { | |
display: ~"-webkit-@{display}"; | |
display: ~"-ms-@{display}box"; // IE10 uses -ms-flexbox |
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
<?php | |
// in BaseSimpleModel.php | |
class BaseSimpleModel extends RedBean_SimpleModel { | |
/** | |
* Get or create a model with the bean set | |
* @static | |
* @param string $table |