Skip to content

Instantly share code, notes, and snippets.

Mark Garrett moderndeveloperllc

View GitHub Profile
@moderndeveloperllc
moderndeveloperllc / accordion.js
Last active Dec 11, 2019
vaadin-accordion - click listener not working?
View accordion.js
<iron-form id="userForm">
<form>
<vaadin-form-layout .responsive-steps="${this.steps}">
<vaadin-form-item>
<vaadin-accordion id="aclList" opened="null">
<vaadin-accordion-panel theme="small">
<div slot="summary">Access Control List (Advanced use only)</div>
<div id="checkboxGroups">${this._displayAclList(this.jwt['usr']['aclList'])}</div>
</vaadin-accordion-panel>
</vaadin-accordion>
@moderndeveloperllc
moderndeveloperllc / webpack.config.js
Last active Aug 21, 2019
webpack config - BabelMultiTargetPlugin and HtmlWebpackDeployPlugin
View webpack.config.js
'use strict';
const BabelMultiTargetPlugin = require('webpack-babel-multi-target-plugin').BabelMultiTargetPlugin;
const HtmlWebpackDeployPlugin = require('html-webpack-deploy-plugin');
const {BundleAnalyzerPlugin} = require('webpack-bundle-analyzer');
const {InjectManifest} = require('workbox-webpack-plugin');
const {resolve, join} = require('path');
const {CleanWebpackPlugin} = require('clean-webpack-plugin');
const CompressionPlugin = require('compression-webpack-plugin');
const fs = require('fs');
@moderndeveloperllc
moderndeveloperllc / poly2-serving-regex.ini
Created Jun 7, 2017
Polymer 2 differential serving regex
View poly2-serving-regex.ini
Chrome\/(49|[5-9]\d+)|AppleWebKit\/(60[2-9]|6[1-9]\d)|Firefox\/(5[1-9]|[6-9]\d)|OPR\/(4[5-9]|[5-9]\d)|Edge\/(15\.15\d{3}|15\.1[6-9]\d{3}|15\.[2-9]\d{4}|1[6-9]|[2-9]\d)
You can’t perform that action at this time.