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 * as cheerio from 'cheerio'; | |
import normalizeUrl from 'normalize-url'; | |
import { AppError } from '../error'; | |
import { z } from 'zod'; | |
import { debugLog } from '../utils'; | |
import { requestTimeout, viewport } from './config'; | |
import { getCluster } from './cluster'; | |
const linkSchema = z.string().url(); |
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
/** | |
* Calculate the contrast of a color to determine the appropriate opposing text color. | |
* @author D. Condrey | |
* @param {string|object} - element background-color or element | |
* @return {string} | |
* white - if background is a dark shade color | |
* black - if background is a light shade color | |
*/ | |
define(function() { |
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
{ | |
"applinks": { | |
"apps": [], | |
"details": [ | |
{ | |
"appID": "JFM85B4M73.de.nebenan.nebenan.dev", | |
"paths": [ "NOT *"] | |
} | |
] | |
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
addInput: (Component) => | |
@inputs.push(Component) unless Component in @inputs | |
removeInput: (Component) => | |
index = @inputs.indexOf(Component) | |
@inputs.splice(index, 1) if index >= 0 |