I hereby claim:
- I am michaelhue on github.
- I am michaelhue (https://keybase.io/michaelhue) on keybase.
- I have a public key ASB3TtVlSTaejcPZ1fcA49ruOQ8a6JcxIJKmYhWXA0Bazgo
To claim this, I am signing this object:
<?php | |
namespace App\Tests; | |
use Orchestra\Testbench\Dusk\TestCase as BaseTestCase; | |
use App\Testing\Concerns\CreatesApplication; | |
use App\Testing\Concerns\ProvidesInertiaBrowser; | |
abstract class BrowserTestCase extends BaseTestCase | |
{ |
<?php | |
namespace site\web\assets\formie; | |
use craft\web\AssetBundle; | |
use verbb\formie\web\assets\cp\CpAsset; | |
class FormieAsset extends AssetBundle | |
{ | |
public function init() |
<?php | |
use craft\events\RegisterCacheOptionsEvent; | |
use craft\utilities\ClearCaches; | |
use yii\base\Event; | |
// Register the "resourcepaths" cache tag for clearing via craft command. | |
// Important: the following command should be run after every deploy. | |
// php craft invalidate-tags/resourcepaths | |
Event::on( |
I hereby claim:
To claim this, I am signing this object:
/** | |
* Hookify | |
* | |
* A very simple helper for implementing the Hooks pattern in your applications. | |
* | |
* @param {Object} obj The object containing hooks. | |
* @param {Object} ctx Optional context that is applied to hooks. Defaults to the obj. | |
* @return {Function} | |
*/ | |
function hookify(obj, ctx) { |
/** | |
* Minimal viewport-aware lazy loading for images. | |
* | |
* This is a simple vanilla JS script for async image loading | |
* shortly before the element enters the viewport. | |
* | |
* Example: | |
* | |
* <div class="img-container" data-ll='{"src": "myimage.jpg", "alt": "My Image"}'> | |
* <noscript><img src="myimage.jpg" alt="My Image"></noscript> |
fields: | |
layout: | |
type: select | |
instructions: "Select the layout of the page." | |
options: | |
image_left: Image left | |
image_right: Image right | |
default: image_left | |
image: | |
type: file |