text
stringlengths
2
1.04M
import VPath from './VPath' test('exports a valid component', () => { expect(VPath).toBeAComponent() }) test('renders the text "VPath"', () => { const { element } = shallowMount(VPath) expect(element.textContent.trim()).toBe('VPath') }) test('adds a "hello" class on the root element', () => { const { element...
/** * Welcome to your Workbox-powered service worker! * * You'll need to register this file in your web app and you should * disable HTTP caching for this file too. * See https://goo.gl/nhQhGp * * The rest of the code is auto-generated. Please don't update this file * directly; instead, make changes to your Wor...
import axios from 'axios' export function request(config) { const instance=axios.create({ baseURL:'http://152.136.185.210:8000/api/n3', timeout:5000 }) instance.interceptors.request.use(config=>{ return config },error => { }) return instance(config) }
import React, { Component } from 'react'; import Task from './Task.js' import Game from '../models/Game.js' class Tasks extends Component { render () { return ( <div className="app__main-counters"> <div className="app__main-counters-wrp"> <div className="counters">{this.props.websites.map...
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ /** * @fileOverview Defines the {@link CKEDITOR.lang} object, for the * Vietnamese language. */ /**#@+ @type String @example */ /** * Contains the dictionary of ...
#!/usr/bin/env node /** * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md. */ /* eslint-env node */ 'use strict'; // In order to use the same version for all packages (including builds and ckeditor5 itself), you can call: // npm run changelog [...
/** * @fileOverview Generates the game report on players, win rates, scores, * KataGo choices, good moves, bad moves, and bad hot spots. */ class GameReport { constructor(gametree) { this.root = gametree.root; this.goodmovewinrate = gametree.opts.maxWinrateDropForGoodMove / 100; this.bad...
import React, { Fragment } from 'react'; import { FieldArray } from 'redux-form'; import { FormattedMessage } from 'react-intl'; import DisplayContact from './DisplayContact'; import formCss from '../../util/sharedStyles/form.css'; class DisplayContactsForm extends React.Component { render() { return ( <...
webpackHotUpdate(0,{10:function(t,e,i){"use strict";var d={data:()=>({columns:[{title:"序号",key:"id",width:100,fixed:"left"},{title:"名称",key:"name",width:400},{title:"缩略图",key:"thumbnail",width:200},{title:"路径",key:"path",width:200},{title:"上传时间",key:"upload_time",width:200},{title:"上传者",key:"upload_user",width:100},{ti...
import React, { Component } from "react"; import {connect} from "react-redux"; import PropTypes from "prop-types"; import { Input, Select, DatePicker, Icon, Layout, Button, message } from "antd"; import "antd/dist/antd.css"; import "./style.scss"; import ClickShare from "../../../../../common/components/ClickShare/Clic...
var x = BigInt ( - 1n ) ;
// Modifications Copyright 2016 Nike, Inc. (https://www.nike.com) // Copyright 2013 LinkedIn Corp. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses...
'use strict'; var fichador = angular.module('MyApp', [ 'ngRoute', 'services', 'commonControllers', 'loginControllers', 'moduleComponent', 'ngMaterial', 'Directives' ]).config(function ($mdDateLocaleProvider) { // Example of a Spanish localization. $mdDateLocaleProvider.months = ['E...
import React from "react"; function SvgStatus(props) { return ( <span data-testid="status-v3-unread" data-icon="status-v3-unread" className=""> <svg id="df9d3429-f0ef-48b5-b5eb-f9d27b2deba6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" {...props}> ...
let BlockRewards = { getBlockRewards: 'SELECT * FROM getBlockRewards();', calcBlockReward: 'SELECT calcBlockReward AS reward FROM calcBlockReward(${height});', calcSupply: 'SELECT calcSupply AS supply FROM calcSupply(${height});', calcSupply_test: 'SELECT calcSupply_test AS result FROM calcSupply_test(${height_s...
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[98],{"71a3":function(a,t,s){"use strict";s.r(t);var n=function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("q-page",{staticClass:"flex flex-top"},[[s("div",{staticClass:"q-pa-md"},[s("div",{staticClass:"q-gutter-y-md",staticStyle:{"max-width":"100%...
import { createStore, compose, applyMiddleware } from 'redux'; import thunk from 'redux-thunk'; import reducer from './reducers'; const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose; const store = createStore(reducer, composeEnhancers( applyMiddleware(thunk) )); export default store;
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import assert from 'assert'; import nock from 'nock'; import * as Actions from 'mattermost-redux/actions/jobs'; import {Client4} from 'mattermost-redux/client'; import {RequestStatus} from '../constants'; ...
init(); /** * this function checks to see something about the user's last workout */ async function init() { if (location.search.split('=')[1] === undefined) { const workout = await API.getLastWorkout(); if (workout) { location.search = '?id=' + workout._id; } else { document.querySelector(...
/** * Passport configuration * * This is the configuration for your Passport.js setup and where you * define the authentication strategies you want your application to employ. * * I have tested the service with all of the providers listed below - if you * come across a provider that for some reason doesn't work,...
import _class_call_check from "@swc/helpers/src/_class_call_check.mjs"; // @noEmit: true // @allowJs: true // @checkJs: true // @Filename: Compilation.js // from webpack/lib/Compilation.js and filed at #26427 /** @param {{ [s: string]: number }} map */ function mappy(map) {} export var C = /*#__PURE__*/ function() { ...
import React, { Component } from "react" import PropTypes from "prop-types" import styled from "styled-components" import GeneFamilyNav from "./GeneFamilyNav" import TAGPContent from "./TAGPContent" const Layout = styled.div` display: flex; justify-content: space-between; padding-top: 40px; max-width: 1250px;...
"use strict"; // Copyright IBM Corp. 2018,2020. All Rights Reserved. // Node module: @loopback/repository // This file is licensed under the MIT License. // License text available at https://opensource.org/licenses/MIT Object.defineProperty(exports, "__esModule", { value: true }); exports.createHasOneRepositoryFactory ...
import Record from 'Types/Record'; import { DateTime } from 'luxon'; import { validateEmail, validateName } from 'App/validate'; export default Record({ id: undefined, name: '', email: '', createdAt: undefined, admin: false, superAdmin: false, joined: false, expiredInvitation: false, invitationLink: ...
//são sempre únicos let foo = Symbol('nome'); let bar = Symbol('nome'); // console.log(foo === bar); // retorna false // console.log(foo == bar); // retonra false let obj = { [Symbol('nome')]: 'Willian', [Symbol('age')]: 26, city: 'Dublin' } console.log(Object.keys(obj)); // Somente city // Para obter...
'use strict'; /** * @file * * Copyright 2019 FutoIn Project (https://futoin.org) * Copyright 2019 Andrey Galkin <andrey@futoin.org> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at *...
import { appMenuTemplate } from './app_menu_template'; import { fileMenuTemplate } from './file_menu_template'; import { editMenuTemplate } from './edit_menu_template'; import { settingsMenu } from './settings_menu_template'; import { viewMenuTemplate } from './view_menu_template'; import { windowMenuTemplate } from '....
import { getSingleExpense } from "../" describe("getSingleExpense",() => { const expenses = [ {id: "3",a: "a"}, {id: "2",b: "b"}, {id: "8",c: "c"} ] it("gets the right expense",() => { const id = "2" expect(getSingleExpense(expenses, id)).toEqual({ "b": "b", id ...
import {functionalMerge, normalMerge, toArrayMerge} from '@form-create/utils/lib/mergeprops'; export const keyAttrs = ['type', 'slot', 'emitPrefix', 'value', 'name', 'native', 'hidden', 'display', 'inject', 'options', 'emit', 'nativeEmit', 'link', 'prefix', 'suffix', 'update', 'sync']; export const arrayAttrs = ['va...
import React from "react"; import { useDispatch, useSelector } from "react-redux"; import { Link } from "react-router-dom"; import { pluralize } from "../../utils/helpers"; import { ADD_TO_CART, UPDATE_CART_QUANTITY } from "../../utils/actions"; import { idbPromise } from "../../utils/helpers"; function ProductItem(it...
const followings = require('./model'); const controller = {}; // routes => /* ------------------- INDEX -------------------*/ // GET "/" => greetings controller.welcome = (req, res) => { console.log("-- GET /all --"); res.send("hi, you're at the followings api"); } /* ------------------- I...
this.addEventListener('install', function(event) { event.waitUntil( caches.open('v1').then(function(cache) { return cache.addAll( '/sw-test/', '/sw-test/index.html', '/sw-test/style.css', '/sw-test/app.js', '/sw-test/image-list.js', '/sw-test/star-wars-logo.jp...
(function (global, factory) { if (typeof define === "function" && define.amd) { define(["exports", "final-form-arrays", "prop-types", "react", "react-final-form", "lodash/get", "lodash/omit", "lodash/map", "lodash/isUndefined", "lodash/filter", "lodash/isBoolean", "lodash/isObject", "lodash/isString", "lodash/isE...
/** * Copyright IBM Corp. 2019, 2020 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. * * Code generated by @carbon/icon-build-helpers. DO NOT EDIT. */ 'use strict'; function _interopDefault (ex) { return (ex && (typeof ex === '...
// @flow import { getSecurity } from '../common'; export function generateSecurityPlugins( op: OA3Operation | null, api: OpenApi3Spec, tags: Array<string>, ): Array<DCPlugin> { const plugins = []; const components = api.components || {}; const securitySchemes = components.securitySchemes || {}; const s...
module.exports = { operation: { perform: { url: 'https://api.fiken.no/api/v2/companies/{{bundle.inputData.slug}}/invoices/drafts', method: 'GET', params: { slug: '{{bundle.inputData.slug}}', orderReference: '{{bundle.inputData.orderReference}}', }, headers: { ...
(function ($) { var controller = new ScrollMagic.Controller(); /** * Opsleb content tabs */ var Tabs = { tab:'.tab', currentTab : 0, init:function () { console.log(this); }, get:function () { return this.currentTab; }, ...
'use strict'; module.exports = (sequelize, DataTypes) => { var items = sequelize.define('items', { name: DataTypes.STRING, price: DataTypes.FLOAT }, { classMethods: { associate: function(models) { // associations can be defined here } } }); return items; };
'use strict'; var mongoose = require('mongoose'), config = require('./config/config'), app = require('./config/express'), Promise = require('bluebird'), server = app.listen(config.port, onAppStartup); mongoose.Promise = Promise; mongoose .connect('mongodb://' + config.mongo.host + ':' + config.mo...
/* Mapbox GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/mapbox/mapbox-gl-js/blob/v1.8.1/LICENSE.txt */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? defin...
const DecisionTable = require('../lib') const async = require('async') const path = require('path') const test = require('tape') const columns = ['1', '2', '3', '4', 'outcome'] test('outcomes', t => { let opts = { outcomeDir: path.resolve(__dirname, 'outcomes') } let table = new DecisionTable(columns, opts) setu...
(function webpackUniversalModuleDefinition(root, factory) { if(typeof exports === 'object' && typeof module === 'object') module.exports = factory(require("d3-force")); else if(typeof define === 'function' && define.amd) define(["d3-force"], factory); else if(typeof exports === 'object') exports["cytoscapeD3Fo...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
const createWorkerQueue = require('./workerQueue') const createWorker = require('./worker') const Batch = require('./batch') const seq = require('../utils/seq') describe('WorkerQueue', () => { const batches = seq( 100, index => new Batch('test-topic', 0, { partition: index.toString(), h...
import {PrismaClient} from '@prisma/client' import {findNewOrExistingTags, validateHeaderToken} from '../../../lib' const handlePostInterest = async ({req, res}) => { const Prisma = new PrismaClient({log: ['query']}) try { const {id} = validateHeaderToken(req.headers) const {title} = req.body const a...
// check if SSL certificate is valid
const webExt = require("web-ext"); const { findMatchingOutDir } = require("./dirFinder.js"); const outDir = findMatchingOutDir(__dirname); (async function () { //webExt.util.logger.consoleStream.makeVerbose(); const extensionRunner = await webExt.cmd.run( { sourceDir: outDir.abs, }, { sho...
import { Cartesian4 } from "../../Source/Cesium.js"; import { Color } from "../../Source/Cesium.js"; import { Math as CesiumMath } from "../../Source/Cesium.js"; import createPackableSpecs from "../createPackableSpecs.js"; describe("Core/Color", function () { it("Constructing without arguments produces expected defa...
// --- Part Two --- module.exports = (inputs) => { return inputs; };
import matchPattern from '../core/match-pattern'; import * as chromeEvents from '../core/chromeEvents'; import * as func from '../core/func'; let tabs = []; function addTab (tab) { tabs.push(tab); global.chrome.tabs.onUpdated.dispatch(tab.id, { url: tab.url }); } function removeTab (tab) { tabs = tabs.filter(t =>...
/**************************************************************************** Copyright (c) 2013-2016 Chukong Technologies Inc. http://www.cocos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated engine source code (the "Software"), a limited, worldwi...
module.exports = { entry: { eventPage: './src/script/eventPage.ts', optionPage: './src/script/optionPage.ts', popup: './src/script/popup.ts', webFilter: './src/script/webFilter.ts', }, mode: 'production', module: { rules: [ { exclude: /(node_modules|bower_components)/, ...
'use strict'; /** * Module dependencies. */ const mongoose = require('./common').mongoose; const assert = require('assert'); const Schema = mongoose.Schema; describe('schematype', function() { it('honors the selected option', function(done) { const s = new Schema({thought: {type: String, select: false}}); ...
// Require Express to run server and routes const express = require( 'express' ); // Start up an instance of app const app = express(); /* Dependences */ const bodyParser = require( 'body-parser' ); /* Middleware*/ //Here we are configuring express to use body-parser as middle-ware. app.use(bodyParser.urlencoded({ e...
'use strict'; const expect = require('chai').expect; const moment = require('moment'); const Employee = require('../models/employee'); const statuses = require('../constants/statuses'); describe('Employee', function() { describe('Default status', function() { it('should equal default (InOffice) status when d...
/*! * Datepicker for Bootstrap v1.5.1 (https://github.com/eternicode/bootstrap-datepicker) * * Copyright 2012 Stefan Petre * Improvements by Andrew Rowls * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) */(function(factory){ if (typeof define === "function" && define.amd) ...
import { onPageLoad } from 'meteor/server-render'; import { Meteor } from 'meteor/meteor'; import { meta } from '/imports/startup/both/routes'; import { TAPi18n } from 'meteor/tap:i18n'; import { log, defaults } from '/lib/const'; import { Contracts } from '/imports/api/contracts/Contracts'; import { fixDBUrl, stripHT...
import React from 'react'; import { SafeAreaView, Text, StatusBar, TouchableOpacity, View, } from 'react-native'; import {ProgressBar} from 'react-native-paper'; import AsyncStorage from '@react-native-community/async-storage'; import {useRoute} from '@react-navigation/native'; import Lottie from 'lottie-rea...
import {ConsoleLog} from './loader-utils/loggers'; // TODO - document these options export const DEFAULT_LOADER_OPTIONS = { CDN: 'https://unpkg.com/@loaders.gl', worker: true, // By default, use worker if provided by loader log: new ConsoleLog(), // A probe.gl compatible (`log.log()()` syntax) that just logs to ...
import { SET_AUTHED_USER } from '../actions/authedUser' export default function authedUser (state = null, action) { switch (action.type) { case SET_AUTHED_USER : return action.id default : return state } }
import buildFormatLongFn from '../../../_lib/buildFormatLongFn/index' var dateFormats = { full: 'EEEE, d. MMMM yyyy.', long: 'd. MMMM yyyy.', medium: 'd. MMM yy.', short: 'dd. MM. yy.', } var timeFormats = { full: 'HH:mm:ss (zzzz)', long: 'HH:mm:ss z', medium: 'HH:mm:ss', short: 'HH:mm', } var dateTi...
(() => { const gl = window.gl || (window.gl = {}); class VisibilitySelect { constructor(container) { if (!container) throw new Error('VisibilitySelect requires a container element as argument 1'); this.container = container; this.helpBlock = this.container.querySelector('.help-block'); ...
const request = require('supertest'); import api from '../src/index'; describe('GET /alive', function() { it('responds with json by string alive', function(done) { request( api({ prefix: '/', port: 123, host: '0.0.0.0', ali...
// @flow import test from 'ava'; import requirejs from 'requirejs'; const mymodule = requirejs('umd-providing-to-amd/bundle'); test('main', t => { const result = mymodule.default('foo'); t.regex(result, /foo/); });
import test from 'ava'; import _ from 'lodash'; import { testObj, clone, remove } from '../src/base_for_test'; const getObj = clone(testObj); const origin = null; let result = null; test('移除根级属性base', (t) => { result = remove(getObj(), '', ['base']).val(); t.is(result.base, undefined); t.snapshot(result); }); ...
/* global VertexIndices */ const applyBoxNoise = (() => { 'use strict'; return function applyNoise( geometry, key, noise ) { const indices = VertexIndices[ key.toUpperCase() ]; if ( Array.isArray( indices ) ) { indices.forEach( index => noise( geometry.vertices[ index ] ) ); } return geome...
/** @license * Copyright (c) 2013-2017 Ephox Corp. All rights reserved. * This software is provided "AS IS," without a warranty of any kind. */
import React from 'react'; import {Questions} from './question/Questions' function App() { return ( <div className="App"> <Questions/> </div> ); } export default App;
'use strict'; let v0 = true; let v1 = { print: print || ((...xs) => console.log(...xs)), global: 666, table: new WebAssembly.Table({ initial: 10, maximum: 20, element: 'anyfunc' }), memory: new WebAssembly.Memory({ initial: 1, maximum: 2 }) }; let v2 = { s...
export const CREATE_EVENT = 'CREATE_EVENT'; export const UPDATE_EVENT = 'UPDATE_EVENT'; export const DELETE_EVENT = 'DELETE_EVENT';
module.exports = function(grunt) { require('load-grunt-tasks')(grunt); grunt.initConfig({ snew: { options: { lib: 'dist/assets/vendor/snew.js', app: 'dist/assets/js/app.js' }, app: { files: [ {cwd: 'src/assets', src: '**/*.js'}, {cwd: 'src/assets', src: '**/*.tp', template: true} ...
/* [Discuz!] (C)2001-2099 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: google.js 23838 2011-08-11 06:51:58Z monkey $ */ document.writeln('<script type="text/javascript">'); document.writeln('function validate_google(theform) {'); document.writeln(' if(theform.site.value == 1) {'); docu...
import React, { Component } from "react"; /* import { SiteContainer } from "components"; */ import Main from "./Main"; import Header from "./Header"; import Footer from "./Footer"; import MenuButton from "./MenuButton"; import SideMenu from "./SideMenu"; import Overlay from "./Overlay"; /* import "styles/index.css"; ...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var prefix = 'bi'; var iconName = 'badge-hd-fill'; var width = 512; var height = 512; var ligatures = []; var unicode = null; var svgPathData = 'M 64 64 A 64 64 0 0 0 0 128 L 0 384 A 64 64 0 0 0 64 448 L 448 448 A 64 64 0 0 0 512 384 L 512 128...
import React from 'react' /** * EntradaOcultaHash es un campo oculto para el id del usuario. * @param {form} register Formulario al que pertenece * @param {int} value Id del usuario * @deprecated Usar la api de usuarioVO */ export const EntradaOcultaId = ({ register, value }) => { return ( <> <input typ...
grid = { initAjustaGrid : function() { var i = 1; var iq = 6; var iqb = true; while(i < $('.box-img').length) { if (iqb) { $('.box-img:nth-child('+ i +')').css('margin-left', '0'); } else { $('.box-img:nth-child('+ i +')...
process.env.DISEASE_TABLE = 'DiseaseTable' process.env.PROGRAM_TABLE = 'ProgramTable' process.env.PROJECT_TABLE = 'ProjectTable' process.env.TASK_TABLE = 'TaskTable' process.env.USER_TABLE = 'UserTable' process.env.WORKSPACE_TABLE = 'WorkspaceTable' module.exports = { preset: 'jest-dynalite', }
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/jax/input/AsciiMath/config.js * * Initializes the AsciiMath InputJax (the main definition is in * MathJax/jax/input/AsciiMath/ja...
import React from 'react'; const Header = (props) => { return ( <h2>{props.course}</h2> ) } const Part = ({ part }) => { return ( <p> {part.name} {part.exercises} </p> ) } const Content = ({ parts }) => { return ( <div> {parts.map(part => <Part key={part.id} part={part} />)} ...
module.exports.exec = (purchaseId, userId) => { 'use strict'; // confirmPurchase(id: ID!, userId: ID!): Purchase! return { id: 1, amount: 30.0, stamps: 4, business: 'Jumbo Supermarkt', //Go to Purchase/Stamps/Business/name concept: 'Ticket #1234567', confirmedAt: '20/10...
"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) { throw new TypeError("Private accessor was defined without a setter"); } ...
export default function({ store, redirect }) { // If the user is not authenticated if (!store.state.user) { return redirect('/login') } }
import React from 'react' import { FinalTextPassword, FINAL_TEXT_PASSWORD } from './FinalTextPassword' import { signUpPasswordValidation, passwordPopoverMessages, signInPasswordValidation, stopUndefined, } from 'utils' // components import { Exports } from 'component_c_Molecules' const { LabelForm } = stopUndefi...
const logger = require('debug-level')('contact') const express = require('express') const api = express.Router() const mongoose = require('mongoose') const { loadTemplate } = require('onemsdk').parser const { Response } = require('onemsdk') const ContactSchema = require('../models/Model').ContactSchema const Contact ...
var sebastian = { nombre: 'Sebastian', apellido: 'Rodriguez', edad: 24, peso: 80 } console.log(`Al inicio del año ${sebastian.nombre} pesaba: ${sebastian.peso} kgs`); const INCREMENTO_PESO = 0.2; const DIAS_DEL_ANO = 365; const aumentarPeso = persona => persona.peso += INCREMENTO_PESO; const bajarPes...
require('es6-promise').polyfill(); var path = require('path'); var webpack = require('webpack'); var AUTOPREFIXER_LOADER = 'autoprefixer-loader?{browsers:[' + '"Android 2.3", "Android >= 4", "Chrome >= 20", "Firefox >= 24", ' + '"Explorer >= 8", "iOS >= 6", "Opera >= 12", "Safari >= 6"]}'; function config(fil...
// Copyright JS Foundation and other contributors, http://js.foundation // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless r...
const colorAbstract = require('../dot-color') const color = new colorAbstract('ral 1000') console.log(color.analogous) /* [ { ral: 1006, name: 'Maize Yellow', lrv: 36 }, { ral: 1000, name: 'Green Beige', lrv: 50 }, { ral: 6019, name: 'Pastel Green', lrv: 57 } ] */
'use strict'; var sinon = require('sinon'); var errors = require('../../lib/errors'); var createStatsCollector = require('../../lib/stats-collector'); var createUnsupportedError = errors.createUnsupportedError; /** * Creates a mock runner object. * * @param {string} runStr - argument that defines the runnerEvent ...
import config from './config'; export default class Data { api(path, method = 'GET', body = null, requiresAuth = false, credentials = null) { const url = config.apiBaseUrl + path; const options = { method, body, headers: { 'Content-Type': 'applicat...
$(function() { consoleInit(); start(main); }); const Pools = [ "0x57c4dF90572dff9E9e3fb5DA28ae2Ba4153Ed2C4", "0x1c65b1763eEE90fca83E65F14bB1d63c5280c651", "0xdeD9027b1080ecaD13645d099D879920e4229a73", "0xb9239B6B78EB6B50d095343C6bCF3bEfeFA4ca94", "0xbbdE5e482A0760DfA5dbEa989D6010b3f140A8BC", "0x24f50A...
function SvgPersonPinRound(props) { return ( <svg xmlns='http://www.w3.org/2000/svg' height='1em' viewBox='0 0 24 24' width='1em' className='svg-icon' {...props}> <path d='M0 0h24v24H0V0z' fill='none' /> <path d='M19 2H5a2 2 0 00-2 2v14c0 1.1.9 2 2 2h4l2.29 2.29c.39.39 1.02.39 1.41 0L15 20h4c...
var classpatterntracker_1_1_main_tracker_activity = [ [ "onCreate", "classpatterntracker_1_1_main_tracker_activity.html#a59f3320e11219df426a770cc7bbaeb03", null ], [ "onDestroy", "classpatterntracker_1_1_main_tracker_activity.html#aa82ac0c5691edcbab5795bc2375e0395", null ], [ "onPause", "classpatterntracker...
/* jshint maxlen:160 */ 'use strict'; // ////////////////////////////////////////////////////////////////////////////// // / @brief Graph Data for Example // / // / @file // / // / DISCLAIMER // / // / Copyright 2010-2014 triagens GmbH, Cologne, Germany // / // / Licensed under the Apache License, Version 2.0 (the "Li...
/** * работа с формой * @param options */ var form = function (options) { var /** * кнопка отправки формы * @type {jQuery} */ $submit = jQuery('.js-form-submit'), /** * инпуты формы * @type {jQuery} */ $inputs = jQuery('.js-fo...
const { h } = require('preact') function iconImage () { return ( <svg aria-hidden="true" focusable="false" width="25" height="25" viewBox="0 0 25 25"> <g fill="#686DE0" fill-rule="evenodd"> <path d="M5 7v10h15V7H5zm0-1h15a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1z" fill-rule="n...
const pattern = /[\u05D0-\u05EA]|[\u0620-\u063F]|[\u0641-\u064A]|[\u0675-\u06D3]|[\u0710-\u071C]|[\u071E-\u072F]|[\u074E-\u077F]|[\u08A0-\u08AC]|[\u08AE-\u08B4]|[\u07C1-\u07C9]|[\u07CC-\u07E9]/g; let mutation = () => { document .querySelectorAll('body , .home, .article, article,.comments, .comment-trees, ....
/* * Ext JS Library 2.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ Ext.form.RadioGroup=Ext.extend(Ext.form.CheckboxGroup,{allowBlank:true,blankText:"You must select one item in this group",defaultType:"radio",groupCls:"x-form-radio-group"});Ext.reg("radiogroup",...
/** * Created by s.neidig on 15/07/17. */ var Bots = Bots || {}; Bots.OilSpawner = function (state, name, position, properties) { Bots.Spawner.call(this, state, name, position, properties); }; Bots.OilSpawner.prototype = Object.create(Bots.Spawner.prototype); Bots.OilSpawner.prototype.constructor = Bots.OilSpa...
const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { purge: { enabled: process.env.NODE_ENV === 'production', content: ['./index.html', './src/**/*.vue', './src/**/*.ts'], }, theme: { container: { center: true, }, extend: { colors: { slipmat: { ...