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
module.exports = { | |
root: true, | |
parser: '@typescript-eslint/parser', | |
plugins: [ | |
'@typescript-eslint', | |
], | |
extends: [ | |
'eslint:recommended', | |
'plugin:@typescript-eslint/eslint-recommended', | |
'plugin:@typescript-eslint/recommended', |
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
# top-most EditorConfig file | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_style = space | |
indent_size = 4 | |
insert_final_newline = true |
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
/** | |
* Google Map Smooth Zoom | |
* | |
* Zoom in or out smoothly on a Google Map | |
*/ | |
/** | |
* This class handles zooming in and out of a map smoothly. | |
*/ | |
class GoogleMapSmoothZoom { |
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 | |
/* | |
Plugin Name: ACF Tab Merge | |
Plugin URI: https://enshrined.co.uk/2017/06/14/merging-acf-field-group-tabs/ | |
Description: Merges tabs across field groups in ACF | |
Version: 1.0.0 | |
Author: enshrined | |
Author URI: https://enshrined.co.uk | |
*/ |
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 | |
/** | |
* An example of a general-purpose implementation that includes the optional | |
* functionality of allowing multiple base directories for a single namespace | |
* prefix. | |
* | |
* Given a foo-bar package of classes in the file system at the following | |
* paths ... | |
* |
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
var sass = require('gulp-ruby-sass'); | |
var plumber = require('gulp-plumber'); | |
var sourcemaps = require('gulp-sourcemaps'); | |
var postcss = require('gulp-postcss'); | |
gulp.task('sass', function() { | |
return gulp.src('uncompressed/scss/*.scss') | |
.pipe(plumber({ | |
errorHandler: onError | |
})) |
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
var googleMapsLoaded = false; | |
var timeout; | |
if(googleMapsLoaded === false) { | |
timeout = setInterval("checkVariable()", 500); | |
} | |
function doGoogleMapsHook() { | |
// set current zoom level | |
var currentZoom = parseInt(jQuery('#acf-field-zoom_level').val()); |
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
# Default application configuration that all configurations inherit from. | |
linters: | |
BorderZero: | |
enabled: true | |
CapitalizationInSelector: | |
enabled: false | |
ColorKeyword: | |
enabled: true |
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
// Include gulp | |
var gulp = require('gulp'); | |
// Include Our Plugins | |
var sass = require('gulp-sass'); | |
var concat = require('gulp-concat'); | |
var uglify = require('gulp-uglify'); | |
var rename = require('gulp-rename'); | |
var autoprefixer = require('gulp-autoprefixer'); | |
var minifycss = require('gulp-minify-css'); |