.block | |||||||
.block | .-modifier | ||||||
.block | __element | ||||||
.block | __element | .-modifier | |||||
.block | __element | --variation | |||||
.block | __element | --variation | .-modifier | ||||
.block | --variation | .block | __element | ||||
.block | __element | .-modifier |
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
{ | |
"require": { | |
"tomzx/php-semver-checker": "^0.11.0" | |
} | |
} |
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
<?php | |
require_once 'vendor/autoload.php'; | |
require_once 'container.php'; | |
$app = Container::getInstance(); | |
$app->bind('database', function($app) { | |
$database = new Illuminate\Database\Capsule\Manager($app); |
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
interface Conditional { | |
Boolean implies(Boolean b); | |
} | |
interface BiConditional { | |
Boolean equalTo(Boolean b); | |
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
$es: '__'; | |
$vs: '--'; | |
$mp: '-'; | |
@function containsVariation($selector) { | |
$selector: selectorToString($selector); | |
@if str-index($selector, $vs) { | |
@return 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
<div class="class">asd</div> |
NewerOlder