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
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=0)}({"+65c":function(t,e,n){var r=n("PlFn");"string"==typeof r&&(r=[[t.i,r,""]]);var i={hmr:!0,transform:void 0,inse |
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 | |
/** | |
* @author OnTheGo Systems | |
*/ | |
class GFML_Conditional_Logic extends GFML_Form { | |
/** | |
* It translates the attributes of the conditional logic, before translating the fields. | |
* This is necessary, or it would not be possible to adjust the conditional logic based on values from "choices" fields. | |
* |
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
/* | |
Tailwind - The Utility-First CSS Framework | |
A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), | |
David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger). | |
Welcome to the Tailwind config file. This is where you can customize | |
Tailwind specifically for your project. Don't be intimidated by the | |
length of this file. It's really just a big JavaScript object and |
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
/* Gravity forms merge tags on multi page form | |
There seems to be a bug in Gravity Forms, when you're using custom Merge Tags; | |
normally, an empty input value will be replaced by the | |
"default value", if you use the Default Value option in Gravity Forms. | |
On multipage forms this means that fields that were left empty _intentionally_ on page one will | |
be overwritten by the default value as soon as you load page two (and so on). | |
This is a fix I came up with. | |
Replace "CustomMergeTagName" with (part of) your custom Merge Tag, or leave those lines out entirely |
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
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
echo "Updating machine software" | |
locale-gen en_GB.UTF-8 | |
# Updating composer |
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
/** | |
* Dynamic operations | |
*/ | |
// All the valid operations | |
static $registered_operations; | |
// Convenience method to get the valid operations. | |
// To register a valid operation, use the filter "timber/image/operations". | |
public static function getOperations() { |
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
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"es6": true, | |
"node": true, | |
"jquery": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module" |
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
// $('.js-trail-canvas').drawTrail() | |
var checkTrails = function() { | |
$('.js-trail').remove(); | |
ImagesLoaded(document.querySelector('.with-trail'), function() { | |
$('.js-trail-container').each(function() { | |
var $container = $(this); |
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
let mix = require('laravel-mix'); | |
let glob = require('glob-all'); | |
let PurgecssPlugin = require('purgecss-webpack-plugin'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Mix Asset Management | |
|-------------------------------------------------------------------------- | |
| | |
| Mix provides a clean, fluent API for defining some Webpack build steps |
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
rewrite ^([^.]*[^/])$ $1/ permanent; | |
location ~* \.(css|js|eot|ttf|ttc|otf|woff|woff2)$ { | |
add_header Access-Control-Allow-Origin *; | |
} | |
location /mathematics/ { | |
try_files $uri $uri/ /index.php?$query_string; | |
} |