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
| $_BREAKPOINTS: ( | |
| print: print, | |
| xs: screen, // mobile-first fallback | |
| sm: 48rem, | |
| md: 64rem, | |
| lg: 75rem | |
| ) !global; | |
| @mixin breakpoint($point, $type: min) { | |
| @if (type-of($point) == 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 { is, getType } from './type.js' | |
| const isFields = (fields) => values.every((field) => is(field, 'Object')) | |
| const getName = (value) => { | |
| const names = { | |
| 'String': () => value, | |
| 'Number': () => `Number ${value}`, | |
| 'Array': () => `List (${value.join(', ')})` | |
| } |
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 points = { | |
| print: 'print', | |
| xs: 'screen', | |
| sm: '48rem', | |
| md: '64rem', | |
| lg: '75rem' | |
| }; | |
| /** | |
| * Launch callback when breakpoint start/stop working. |
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
| class Service { | |
| /** | |
| * Creates a new service. | |
| * @param {function} service | |
| * @param {number} time Time interval in minutes. | |
| */ | |
| constructor(service, time) { | |
| const MINUTE = 1000 * 60; | |
| this.time = MINUTE * time; |
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
| mixin ie(method, version) | |
| - | |
| version = (typeof version === 'number') ? `IE ${version}` : 'IE'; | |
| method = method || '=='; | |
| var condition = ''; | |
| switch (method) { | |
| case '==': | |
| condition = version; |
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 available = (function () { | |
| const url = `//${location.hostname}:${location.port}/ok` | |
| const available = { | |
| isAvailable: false, | |
| onChange: () => undefined | |
| } | |
| check() | |
| function check() { |
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
| /** | |
| * @typedef Animation | |
| * @property {function} animation | |
| */ | |
| /** | |
| * Create a new animation object. | |
| * @param {function} animation | |
| * @returns {Animation} | |
| */ |
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
| [ | |
| "Adamantina", | |
| "Adolfo", | |
| "Aguaí", | |
| "Águas da Prata", | |
| "Águas de Lindóia", | |
| "Águas de Santa Bárbara", | |
| "Águas de São Pedro", | |
| "Agudos", | |
| "Alambari", |
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
| { | |
| "name": "landing-page-unopar", | |
| "version": "0.0.1", | |
| "description": "Landing Page de Unopar.", | |
| "private": true, | |
| "author": "Vitor Cavalcanti", | |
| "maintainers": [], | |
| "license": "MIT", | |
| "keywords": [ | |
| "landing-page", |
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 levelup = require('levelup') | |
| const { NotFoundError } = require('level-errors') | |
| const database = levelup('./app/database', { createIfMissing: true }) | |
| /** | |
| * Opções do repositório. | |
| * @typedef RepositoryOptions | |
| * @type {Object} | |
| * @property {*} initialValue |
OlderNewer