text
stringlengths
2
1.05M
import resolve from "@rollup/plugin-node-resolve"; import replace from "@rollup/plugin-replace"; import commonjs from "@rollup/plugin-commonjs"; import svelte from "rollup-plugin-svelte"; import { terser } from "rollup-plugin-terser"; import config from "sapper/config/rollup.js"; import pkg from "./package.json"; impor...
'use strict'; var path = require('path'); var ozcss = require('postcss-australian-stylesheets'); var postcss = require('postcss'); var diff = require('diff'); var chalk = require('chalk'); module.exports = function(grunt) { var options; var processor; /** * Returns an input map contents if a custom...
import { expect } from "chai"; import sinon from "sinon"; import React from "react"; import { renderIntoDocument, Simulate } from "react-addons-test-utils"; import { findDOMNode } from "react-dom"; import Form from "../src"; import { createComponent, createFormComponent, createSandbox, } from "./test_utils"; de...
const AssetLockOutputNotFoundError = require('../../errors/AssetLockOutputNotFoundError'); /** * @param {fetchAssetLockTransactionOutput} fetchAssetLockTransactionOutput * @return {fetchAssetLockPublicKeyHash} */ function fetchAssetLockPublicKeyHashFactory(fetchAssetLockTransactionOutput) { /** * @typedef {fet...
// More info on Webpack's Node API here: https://webpack.github.io/docs/node.js-api.html // Allowing console calls below since this is a build file. /* eslint-disable no-console */ import webpack from 'webpack'; import config from '../webpack.config.prod'; import { chalkError, chalkProcessing, chalkSuccess, chalkWarnin...
// **This example illustrates the declaration and instantiation of a minimalist View.** // // _Working example: [1.html](../1.html)._ // _[Go to Example 2](2.html)_ // Self-executing wrapper (function($){ // **ListView class**: Our main app view. var ListView = Backbone.View.extend({ el: $('body'), // attaches...
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"widgets/Scalebar/setting/nls/strings":{unit:"\u0415\u0434\u0438\u043d\u0438\u0446\u0430 \u043...
positionForPages[17]={page:17,positions:[{w:"",p:[0.097491,0.109074,0.102551,0.109074,0.102551,0.093238,0.097491,0.093238,0.005060]}]};
'use strict'; const Path = require('fire-path'); const Fs = require('fire-fs'); const WECHAT = 'wechatgame'; function onBuildFinish(dest) { let subpackagesPath = Path.join(dest, 'res/raw-assets/game.js'); Fs.ensureFile(subpackagesPath); let jsonPath = Path.join(dest, 'game.json'); let contents = Fs.re...
document.getElementById("modif_effectue").style.display = 'none'; document.getElementById("suppression_effectue").style.display = 'none'; function modifierprof(event,objet) { event.preventDefault(); var $id=(($(objet)).attr('id')); var id_to_hide = "#prof"+$id; var id_tel="#telprof"+$id; //---------//---...
class HeaderMobile extends Widget { constructor(node) { super(node, 'js-header',); this.opened = false; this.mobileInit = false; this.$burgerButton = this.queryElement('.burger'); this.$headerMenu = this.queryElement('.menu'); this.$headerLinks = this.queryElements('.link'); this.$headerS...
const { NotImplementedError } = require('../extensions/index.js') /** * Extract season from given date and expose the enemy scout! * * @param {Date | FakeDate} date real or fake date * @returns {String} time of the year * * @example * * getSeason(new Date(2020, 02, 31)) => 'spring' * */ function getSeason(da...
/** * @license * Copyright (c) 2018 amCharts (Antanas Marcelionis, Martynas Majeris) * * This sofware is provided under multiple licenses. Please see below for * links to appropriate usage. * * Free amCharts linkware license. Details and conditions: * https://github.com/amcharts/amcharts4/blob/master/LICENSE *...
import L from "leaflet"; import layerModel from "../layers"; import "leaflet-rotatedmarker"; import { arrayBinaryIndexSearch } from "../../../utils/helper"; export function calculateDateTimeIndex(prevRealDateTime, orderedDateTimes) { //First Date Time if (prevRealDateTime <= orderedDateTimes[0]) { return ...
/*! * OpenUI5 * (c) Copyright 2009-2020 SAP SE or an SAP affiliate company. * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. */ // Provides default renderer for control sap.ui.commons.TextField sap.ui.define(['sap/ui/core/Renderer', 'sap/ui/core/ValueStateSupport', 'sap/ui/core/library', 'sap/ui...
// run command: // $ node math-tree.js --seneca.print.tree require('seneca')() .use('math')
(global["webpackJsonp"] = global["webpackJsonp"] || []).push([["pages/index/index"],{ /***/ 40: /*!**********************************************************************************!*\ !*** /Users/anoi/HBuilderProjects/yeti/main.js?{"page":"pages%2Findex%2Findex"} ***! \********************************************...
(window.webpackJsonp=window.webpackJsonp||[]).push([[299],{3144:function(t,e,n){"use strict";n.r(e),n.d(e,"icon",(function(){return c}));n(12),n(2),n(4),n(9),n(3),n(10);var r=n(0),a=n.n(r);function l(){return(l=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.proto...
import '../css/epicraft.scss'; import React from "react" const ComingSoon = () => ( <div className='coming-soon'> <div className='container'> <p>A whole new server experience.</p> <h3>Coming Soon</h3> </div> </div> ) export default ComingSoon;
(function($){ var $content_md = $('#div_id_content_md'); var $content_ck = $('#div_id_content_ck'); var $is_markdown = $('input[name=is_markdown]'); var switch_editor = function(is_markdown) { if (is_markdown) { $content_md.show(); $content_ck.hide(); } else { ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = tslib_1.__importStar(require("react")); var StyledIconBase_1 = require("../../StyledIconBase"); exports.VolumeUp = React.forwardRef(function (props, ref) { var attrs = { "fill": "currentC...
// Dependencies. import { expect } from 'chai'; // Relative imports. import { FETCH_FORMS, FETCH_FORMS_SUCCESS, INITIAL_SORT_STATE, } from '../../constants'; import findVAFormsReducer from '../../reducers/findVAFormsReducer'; describe('Find VA Forms reducer: findVAFormsReducer', () => { it('returns the default...
module.exports = { up: (queryInterface, Sequelize) => queryInterface.createTable('Transactions', { id: { allowNull: false, autoIncrement: true, primaryKey: true, type: Sequelize.INTEGER, }, referenceNo: { type: Sequelize.STRING, }, type: { type: Sequelize.STRING...
var mongoose = require('mongoose'); var Schema = mongoose.Schema; var moment = require('moment'); var _ = require('lodash'); var TransactionSchema = new Schema({ //fileUrl: String name: {type: String, required: true}, memo: String, transactionDate: {type: Date, required: true }, am...
import React from "react" import { View, Image, ImageBackground, TouchableOpacity, Text, Button, Switch, TextInput, StyleSheet, ScrollView } from "react-native" import Icon from "react-native-vector-icons/FontAwesome" import { CheckBox } from "react-native-elements" import { connect } from "react-re...
'use strict'; const os = require('os'); const crypto = require('crypto'); const fs = require('fs'); const path = require('path'); const ci = require('ci-info'); const BbPromise = require('bluebird'); const fse = BbPromise.promisifyAll(require('fs-extra')); const _ = require('lodash'); const fileExistsSync = require('....
/*! Buttons for DataTables 1.6.2 ©2016-2020 SpryMedia Ltd - datatables.net/license */ (function(e){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(q){return e(q,window,document)}):"object"===typeof exports?module.exports=function(q,r){q||(q=window);if(!r||!r.fn.dataTable)r=require(...
import React from 'react'; import PropTypes from '../prop-types'; import LeftRight from './LeftRight'; import SidebarSection from './SidebarSection'; class EnumSelectorSection extends React.Component { renderOptions() { return this.props.options.map((option, index) => { let { label } = option;...
const logger = store => next => action => { console.group(action.type); console.info("dispatching", action); let result = next(action); console.log("next state", store.getState()); console.groupEnd(action.type); return result; }; export default logger;
describe('<md-tabs>', function () { beforeEach(module('material.components.tabs')); beforeEach(function () { jasmine.mockElementFocus(this); jasmine.addMatchers({ toBeActiveTab: function () { return { compare: function (actual, expected) { var fails = []; i...
/* * Ext JS Library 2.2 * Copyright(c) 2006-2008, Ext JS, LLC. * licensing@extjs.com * * http://extjs.com/license */ // some data used in the examples Ext.namespace('Ext.exampledata'); Ext.exampledata.states = [ ['AL', 'Alabama', 'The Heart of Dixie','ALClass'], ['AK', 'Alaska', 'The La...
export { default } from './lock.container';
import * as Engine from "../../../engine/engine.js" export default class MoleMakerComponent extends Engine.Component { constructor(gameObject) { super(gameObject); this.tick = 0; } update() { let score = this.gameObject.getComponent("ScoreComponent").score; let screenTextComponent = this.gameObj...
const celeste = document.getElementById('celeste') const violeta = document.getElementById('violeta') const naranja = document.getElementById('naranja') const verde = document.getElementById('verde') const btnEmpezar = document.getElementById('btnEmpezar') const ULTIMO_LVL = 15 class Juego { constructor() { ...
const express = require('express'); const routes = require('./routes'); var exphbs = require("express-handlebars"); // import sequelize connection const app = express(); const PORT = process.env.PORT || 3001; app.use(express.json()); app.use(express.urlencoded({ extended: true })); app.use(routes); app.engine("handl...
var simpl = require('../') var test = require('tap').test var server, client, socket test("start server", function (t) { t.plan(2) server = simpl.createServer(8080) server.use(simpl.uid()) server.use(simpl.events()) server.use(simpl.json()) server.on('ready', function () { t.pass("server is ready") ...
'use strict'; module.exports = { CallbackBasedCredentialsProvider: require('./CallbackBasedCredentialsProvider'), RepositoryBasedCredentialsProvider: require('./RepositoryBasedCredentialsProvider'), CredentialsProvider: require('./CredentialsProvider') };
require('dotenv').config(); const { notarize } = require('electron-notarize'); exports.default = async function notarizing(context) { const { electronPlatformName, appOutDir } = context; if (electronPlatformName !== 'darwin') { return; } const appName = context.packager.appInfo.productFilename; return ...
const { Model, DataTypes } = require('sequelize'); const {sequelize} = require('./database') class User extends Model {} User.init( { id : { type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true, }, img_url:{ type: DataTypes.STRING, ...
/* * VenoBox - jQuery Plugin * version: 1.9.3 * @requires jQuery >= 1.7.0 * * Examples at http://veno.es/venobox/ * License: MIT License * License URI: https://github.com/nicolafranchini/VenoBox/blob/master/LICENSE * Copyright 2013-2021 Nicola Franchini - @nicolafranchini * */ /* global jQuery */ (function(...
const echeance = (duree) => `Dans ${duree}`; const expiration = (duree) => `${duree.charAt(0).toUpperCase()}${duree.slice(1)} après signature de la présente homologation`; module.exports = { seuilsCriticites: ['critique', 'eleve', 'moyen', 'faible'], typesService: { siteInternet: { description: 'Site Internet...
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
import { useState } from 'react'; import './TextField.css'; function TestField({ name, placeholder, type }) { const [data, setData] = useState(''); const _handleOnChange = (e) => { setData((p) => e.target.val); }; return ( <div className='input-group'> <label className='input-group__label' htmlF...
/** * React Static Boilerplate * https://github.com/kriasoft/react-static-boilerplate * * Copyright © 2015-present Kriasoft, LLC. All rights reserved. * * This source code is licensed under the MIT license found in the * LICENSE.txt file in the root directory of this source tree. */ import React from 'react'; ...
import './main'; import './user'; import './dbSearch'; import './ftpLinks';
// The Nature of Code // Daniel Shiffman // http://natureofcode.com // A rectangular box // Constructor class Lollipop { constructor(x, y) { this.w = 8; this.h = 24; this.r = 8; // Define a body let bd = new box2d.b2BodyDef(); bd.type = box2d.b2BodyType.b2_dynamicBody; bd.position = sc...
import { System } from './ecs.js'; import { Stage } from './stage.js'; import { Transform } from './transform.js'; import { InstanceColor } from './instance-color.js'; export const AttributeLocation = { position: 0, normal: 1, tangent: 2, texcoord: 3, texcoord2: 4, color: 5, joints: 6, wei...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var pixi = require("pixi.js"); var _1 = require("../../"); var core = require("./core"); var BitmapText = /** @class */ (function (_super) { tslib_1.__extends(BitmapText, _super); function BitmapText() {...
import React from "react" import PropTypes from "prop-types" const PhotoTitle = ({ title, photo }) => ( <> <div className="w-full lg:h-60 h-32 relative bg-gray-900"> <h1 className="w-full h-full lg:text-5xl text-4xl text-white absolute flex items-center justify-center"> {title} </h1> <i...
import CoOpMissionOne from "../../static/images/co-op-missions-one.jpg" import CoOpMissionTwo from "../../static/images/co-op-missions-two.jpg" import CoOpMissionThree from "../../static/images/co-op-missions-three.jpg" import HeroOne from "../../static/images/hero-one.jpg" import HeroTwo from "../../static/images/her...
/* Burak Kanber */ var width = 500; var height = 400; var canvas = ctx = false; var frameRate = 1/40; // Seconds var frameDelay = frameRate * 1000; // ms var loopTimer = false; /* * Experiment with values of mass, radius, restitution, * gravity (ag), and density (rho)! * * Changing the constants literally changes...
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function (mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror"), require("../htmlmixed/htmlmixed")); else if (typ...
var searchData= [ ['right',['Right',['../classglcd.html#a6f1db2d3e921d6c346eb537abfac886b',1,'glcd']]] ];
const DATAPREFIX = "data"; export default attrs => { let p, bits; return Object.keys(attrs).reduce((o, key) => { bits = key.split("-"); if (bits.length > 1 && bits[0] === DATAPREFIX) bits = bits.splice(1); p = bits.reduce((s, key, idx) => { s += idx ? key.substring(0, 1).toUpperCase() + key.subst...
var hierarchy = [ [ "IDisposable", null, [ [ "RexTools.RexReader", "class_rex_tools_1_1_rex_reader.html", null ] ] ], [ "RexTools.Tile", "class_rex_tools_1_1_tile.html", null ], [ "RexTools.TileLayer", "class_rex_tools_1_1_tile_layer.html", null ], [ "RexTools.TileMap", "class_rex_tools_1_1_ti...
(function (root, factory) { if (typeof define === 'function' && define.amd) { define(function() { return factory(root); }); } else if (typeof exports === 'object') { module.exports = factory; } else { root.echo = factory(root); } })(this, function (root) { 'use s...
var blue = '#348fe2', blueLight = '#5da5e8', blueDark = '#1993E4', aqua = '#49b6d6', aquaLight = '#6dc5de', aquaDark = '#3a92ab', green = '#00acac', greenLight = '#33bdbd', greenDark = '#008a8a', orange = '#f59c1a', orangeLight = '#f7b048', orangeDark = '#c47d15', dark = '#2d353c', grey = '#b6c2c9', purple = '#...
/*! * Angular Material Design * https://github.com/angular/material * @license MIT * v1.0.0-rc1-master-325d83e */ goog.provide('ng.material.components.card'); goog.require('ng.material.core'); /** * @ngdoc module * @name material.components.card * * @description * Card components. */ angular.module('material...
import { w3cwebsocket } from 'websocket' import { eth, contracts } from 'decentraland-eth' import { env } from 'decentraland-commons' // @nacho hack: eth-connect expects to have window defined global.window = {} const providers = require('eth-connect') const HDWalletProvider = require('truffle-hdwallet-provider') expo...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
/***************************************************** * Copyright (c) 2019, GaraheSoft * <support@garahesoft.com> All rights reserved. * * These are collections of microservices, for trading * operations to cryptocurrency exchanges. * Supported exchanges: * -yobit.io *************************************************...
"use strict"; const _ = require('lodash'); const $ = require('sand-dollar'); class GeneralError extends Error { /** * Create and error with a message and optional message to log * * @param {string} message - the user friendly error message * @param {string|bool} logMessage - a message to log if string, ...
'use strict'; function isLegacyEnabled(options) { return !options.hasOwnProperty('legacy') || options.legacy; } function precisionRound(number, precision) { if (typeof precision === 'number') { const factor = Math.pow(10, precision); return Math.round(number * factor) / factor; } else if (...
const UserController = require('../controller/userController') const authentication = require('../auth/auth') const express = require('express') const router = express.Router() // rota para cadastro router.post('/user/signup', UserController.signUp) // rota para login router.post('/user/signin', UserController.sign...
const expect = require('chai').expect; const activateAndControlSW = require('../../../infra/testing/activate-and-control'); const cleanSWEnv = require('../../../infra/testing/clean-sw'); describe(`[workbox-precaching] Precache and Update`, function() { const DB_NAME = 'workbox-precache-http___localhost_3004_test_wo...
// set up status variables used by multiple functions var rt = null; var current = 0; var current_stale = false; var past_decimal = 0; var in_operation = null; var out = document.getElementById("out"); out.innerHTML = "Click to enter numbers and operators"; // get relevant page elements var button_table= d...
import React from "react"; import { useWizard, Wizard } from "react-use-wizard"; import Layout from "../components/layout"; const Step = ({ number }) => { const { handleStep } = useWizard(); handleStep(() => { alert(`Going to step ${number}`); }); return <p>Step {number}</p>; }; const Footer = () => { ...
import { describe, it } from 'flow-typed-test'; import createEnturService, { ONSTREET_BUS, FeatureCategory } from '@entur/sdk' describe('createEnturService', () => { it('creates a service', () => { const service = createEnturService({ clientName: 'flow-typed' }) }); it('fails if using wrong typefo...
/*! * ui-select * http://github.com/angular-ui/ui-select * Version: 0.19.8 - 2020-07-02T08:56:13.966Z * License: MIT */ !function(){"use strict";function e(e){return angular.isUndefined(e)||null===e}var t={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34...
import React from 'react'; import Table from '@semcore/table'; const data = [ { keyword: 'ebay buy', kd: '77.8', cpc: '$1.25', vol: 'n/a', }, { keyword: 'www.ebay.com', kd: '11.2', cpc: '$3.4', vol: '32,500,000', }, { keyword: 'www.ebay.com', kd: '10', cpc: '$0.65'...
import defaultLocale from '../locale/en-US/index.js'; import subMilliseconds from '../subMilliseconds/index.js'; import toDate from '../toDate/index.js'; import assign from '../_lib/assign/index.js'; import longFormatters from '../_lib/format/longFormatters/index.js'; import getTimezoneOffsetInMilliseconds from '../_li...
/** * The Initial Developer of the Original Code is * Tarmo Alexander Sundström <ta@sundstrom.io> * * Portions created by the Initial Developer are * Copyright (C) 2014 Tarmo Alexander Sundström <ta@sundstrom.io> * * All Rights Reserved. * * Contributor(s): * * Permission is hereby granted, free of charge, t...
import * as types from '../constants/actionTypes'; import { refToArray } from '../common/helpers'; export default function notebookReducer(state = {}, action) { switch (action.type) { // *** GET NOTEBOOKS case types.GetNotebooksRequested: { return Object.assign({}, state, { inProgress: true, error: '',...
var searchData= [ ['cartapp_21',['CartApp',['../namespace_cart_app.html',1,'']]], ['cartapp_2eassemblyinfo_2ecs_22',['CartApp.AssemblyInfo.cs',['../_cart_app_8_assembly_info_8cs.html',1,'']]], ['cartapp_2erazorassemblyinfo_2ecs_23',['CartApp.RazorAssemblyInfo.cs',['../_cart_app_8_razor_assembly_info_8cs.html',1,'...
import path from 'path'; import routes from '../routes'; export default async app => { const { expressApp } = app; expressApp.use('/api', routes(app)); expressApp.use(function(err, req, res, next) { res.status(400); const errorStack = process.env.MODE === 'development' ? err.stack : {}; console.log...
/* YUI 3.8.0pr2 (build 154) Copyright 2012 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if ...
const { normalizeArgs, readableToString } = require("./helpers.js"); const { mergeToString } = require("./mergeToString.js"); /** * Reads multiple streams, merges their contents and write into the given stream. * @param {WriteStream} destStream A stream which will be used to write the merge result. * @param {Read...
/* eslint-disable react/no-unescaped-entities */ import React, { memo, useState } from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; import { connect } from 'react-redux'; import { useInjectReducer } from 'utils/injectReducer'; import { useInjectSaga } from 'utils/injectSaga'; import red...
var chevrotain = require("chevrotain") // ----------------- lexer ----------------- var createToken = chevrotain.createToken var Lexer = chevrotain.Lexer var Parser = chevrotain.Parser var True = createToken({ name: "True", pattern: /true/ }) var False = createToken({ name: "False", pattern: /false/ }) var Null = cre...
/* * Section Messages * * This contains all the text for the Section component. */ import { defineMessages } from 'react-intl'; export const scope = 'app.components.Section'; export default defineMessages({ header: { id: `${scope}.header`, defaultMessage: 'This is the Section component!', }, });
define(["jquery","core/form-autocomplete","core/str","core/notification"],function(a,b,c,d){var e={UNIFIED_FILTERS:"#unified-filters"},f=function(){var f=[{key:"filterplaceholder",component:"tool_policy"},{key:"nofiltersapplied",component:"tool_policy"}];M.util.js_pending("acceptances_filter_datasource"),c.get_strings(...
describe("About Objects", function () { describe("Properties", function () { var megalomaniac; beforeEach(function () { megalomaniac = { mastermind: "Joker", henchwoman: "Harley" }; }); it("should confirm objects are collections of properties", function () { expect(megalomaniac.master...
const loading = { show (msg = '加载中') { wx.showLoading({ title: msg }) }, hide () { wx.hideLoading() } } export default loading
function setCookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/";} function getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.s...
/* @flow */ import config from '../config' import { initProxy } from './proxy' import { initState } from './state' import { initRender } from './render' import { initEvents } from './events' import { mark, measure } from '../util/perf' import { initLifecycle, callHook } from './lifecycle' import { initProvide, initInj...
"use strict" const config = require('../../config') const cluster = require('cluster') module.exports = { 'on_start': function (message){ console.log(`+ ${cluster.worker.id} worker [${cluster.worker.process.pid}] received [on_start] event in [${message.module}] module`) }, 'send email': function ...
import { ModeloAvance } from './avance.js'; const resolversAvance = { Query: { Avances: async (parent, args) => { const avances = await ModeloAvance.find().populate('proyecto').populate('creadoPor'); return avances; }, filtrarAvance: async (parents, args) => { const avanceFiltrado = awa...
const name = 'Генератор защитного поля'; let price = 1000; console.log(`Выбран «${name}», цена за штуку ${price} кредитов`); price = 2000; console.log(`Выбран «${name}», цена за штуку ${price} кредитов`);
/* * Copyright 2020 Google LLC * * 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
;clc=clc||{},clc.cmd=clc.cmd||[],clc.cmd.push(function(){return clc.place({"zones":{"4":{"cn":"<a class=\"top \"href=\"https://stackoverflow.com/jobs/remote-developer-jobs\"target=\"_blank\"data-clc-click=\"https://clc.stackoverflow.com/click?an=42LLzddku3jVQzV8m6s3ExPLkcsvGcVX3PXwfdJmms340e92wPFABimGng0MDA32jIwMLNJM13...
import React from 'react'; import { Link } from 'react-router-dom' import NavbarStore from '../stores/NavbarStore'; import NavbarActions from '../actions/NavbarActions'; import AppActions from '../actions/AppActions'; class Nav extends React.Component { constructor(props) { super(props); this.state = NavbarS...
import React from 'react'; import GlobalStyle from './styles/global'; import Routes from './routes'; function App () { return ( <> <GlobalStyle /> <Routes /> </> ); } export default App;
!function(a,b,c){"function"==typeof define&&"undefined"!=typeof define.amd?define(b,function(){return c(a)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=c(a):a[b]=c(a)}(this,"UUID",function(){var a=function(a,b){for(var c=[],d=0;a>d;d++)c[d]=Math.floor(Math.random()*b+1);return c},b=function...
import React from "react" import { graphql, useStaticQuery } from "gatsby" import Title from "./Title" import styled from "styled-components" import Image from "gatsby-image" import { FaQuoteRight } from "react-icons/fa" import { FiChevronRight, FiChevronLeft } from "react-icons/fi" const Slider = () => { return <h2...
export * from './fundamentals' export * from './time-series' export * from './quotes' export * from './search' export * from './street-events'
const { MIGRATIONS_COLLECTION_NAME } = require("../constants.js"); async function updateDatabaseVersion({ db, namespace, runInfo, version }) { await db.collection(MIGRATIONS_COLLECTION_NAME).updateOne({ namespace }, { $set: { version }, $push: { runHistory: runInfo } }, { up...
var TestData = (function () { function TestData() {} TestData.prototype.load = function (dictData) { dictData.set('#USERNAME#', 'testuser1'); dictData.set('#PASSWORD#', '3X4mpl3'); dictData.set('#DATAITEM1#', 'data1'); dictData.set('#DATAITEM2#', 'data2'); dictData.set('#SESSION1.USERNAME#', 'John');...
'use strict'; var User = require('../models/user').User; module.exports = function(app) { app.route('/movies') .get(function(req, res, next) { res.render('movies', { title: 'Movies', name: req.user.display_name, picture: req.user.profile_picture }); }); }
'use strict'; export const createAccountTab = '.login-form-nav .nav-item:nth-child(2)'; export const logInTab = '.login-form-nav .nav-item:nth-child(1)'; export const createAccountButton = '#register .btn-primary'; export const getRegisterFormFeedback = '#register .form-control-feedback'; export const getTrackOrderFor...
define('node_modules/lodash/_baseKeys', function(require, exports, module) { var isPrototype = require('node_modules/lodash/_isPrototype'), nativeKeys = require('node_modules/lodash/_nativeKeys'); /** Used for built-in method references. */ var objectProto = Object.prototype; /** Used to check obje...