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
| import type { SchemeOptions } from '@nuxtjs/auth-next/dist'; | |
| import BaseScheme from '@nuxtjs/auth-next/dist/schemes/_scheme'; | |
| import * as firebase from 'firebase/app'; | |
| import 'firebase/auth'; | |
| import jwt from 'jsonwebtoken'; | |
| import memoizer from 'lru-memoizer'; | |
| import fetch from 'node-fetch'; | |
| const DEFAULTS: SchemeOptions = { | |
| name: 'firebase', |
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
| const authentication = require('@feathersjs/authentication'); | |
| const jwt = require('@feathersjs/authentication-jwt'); | |
| const local = require('@feathersjs/authentication-local'); | |
| const oauth2 = require('@feathersjs/authentication-oauth2'); | |
| const session = require('express-session'); | |
| const Auth0Strategy = require('passport-auth0'); | |
| module.exports = function (app) { | |
| const config = app.get('authentication'); |
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
| import { BodyComponent } from 'mjml-core' | |
| import { flow, identity, join, filter } from 'lodash/fp' | |
| import widthParser from 'mjml-core/lib/helpers/widthParser' | |
| const makeBackgroundString = flow(filter(identity), join(' ')) | |
| export default class McSection extends BodyComponent { | |
| static allowedAttributes = { | |
| 'mc:hideable': 'boolean', | |
| 'mc:repeatable': 'string', |
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
| import min from 'lodash/min' | |
| import { BodyComponent } from 'mjml-core' | |
| import widthParser from 'mjml-core/lib/helpers/widthParser' | |
| export default class McImage extends BodyComponent { | |
| static tagOmission = true | |
| static allowedAttributes = { |
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
| const AFRAME = require('aframe'); | |
| if (!AFRAME.components['render-enabled']) { | |
| AFRAME.registerComponent('render-enabled', { | |
| schema: { type: 'boolean', default: true }, | |
| init() { | |
| const _this = this; | |
| this.renderEnabled = this.data; | |
| this.el.render = function render() { |
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
| /* | |
| eslint no-underscore-dangle: 0, max-len: 0, prefer-destructuring: 0, no-nested-ternary: 0 | |
| */ | |
| import TweenMax from 'gsap/TweenMax'; | |
| import TimelineMax from 'gsap/TimelineMax'; | |
| import * as ScrollWizardry from 'scrollwizardry'; | |
| // import * as ScrollWizardry from '../../scrollwizardry/src'; | |
| const { Controller, Scene } = ScrollWizardry; |
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
| import hash from 'object-hash'; | |
| import sizeof from 'object-sizeof'; | |
| import lruCache from 'lru-cache'; | |
| const cacheEnabled = true; | |
| const cacheMaxAge = 30 * 60 * 1000; | |
| const cacheMaxSize = 128 * 1000 * 1000; | |
| const getCacheKey = config => hash({ | |
| method: config.method, |
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
| import { MJMLElement } from 'mjml-core' | |
| import merge from 'lodash/merge' | |
| import min from 'lodash/min' | |
| import React, { Component } from 'react' | |
| const tagName = 'mc-image' | |
| const parentTag = ['mj-column', 'mj-hero-content'] | |
| const defaultMJMLDefinition = { | |
| attributes: { | |
| 'mc:edit': null, |
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
| import { MJMLElement, helpers } from 'mjml-core' | |
| import cloneDeep from 'lodash/cloneDeep' | |
| import merge from 'lodash/merge' | |
| import React, { Component } from 'react' | |
| const tagName = 'mc-section' | |
| const parentTag = ['mj-container'] | |
| const defaultMJMLDefinition = { | |
| attributes: { | |
| 'mc:hideable': null, |
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
| {} |
NewerOlder