text
stringlengths
2
1.04M
import { EffectNodeBase } from './base'; export const NAME = 'BitCrusher'; export const TYPE = 'bitcrusher'; function bitCrusherEffectParameterObject() { return { type: TYPE, bypass: false, parameters: { bits: 4, normfreq: 0.1, bufferSize: 256, }, }; } class BitCrusherEffectNode...
const exposes = require('../lib/exposes'); const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee}; const tz = require('../converters/toZigbee'); const reporting = require('../lib/reporting'); const extend = require('../lib/extend'); const e = exposes.presets; module.exports = ...
class SubjectDTO { constructor({ firstname, lastname, age, height, weight }) { this.age = age || null; this.firstname = firstname || ''; this.lastname = lastname || ''; this.height = height || null; this.weight = weight || null; } } export default SubjectDTO;
module.exports = { // angular specific preset: 'jest-preset-angular', setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'], testMatch: ['<rootDir>/src/**/*.spec.ts'], // coverage coverageDirectory: 'coverage', coverageReporters: ['cobertura', 'html', 'text'], };
const mongoose = require("mongoose"); const Schema = mongoose.Schema; const ChatSchema = new Schema({ email: { type: String, required: true, }, message: { type: String, required: true, }, }); const ChatModel = mongoose.model("chat", ChatSchema); module.exports = ChatModel;
//============================================================================== // Elements which contains the location of the previous and next site //============================================================================== const prev = document.getElementById("prev-site"); const next = document.getElementById(...
import axios from "axios"; import { ORDER_LIST_MY_RESET } from "../constants/orderConstants"; import { USER_DELETE_FAIL, USER_DELETE_REQUEST, USER_DELETE_SUCCESS, USER_DETAILS_FAIL, USER_DETAILS_REQUEST, USER_DETAILS_RESET, USER_DETAILS_SUCCESS, USER_LIST_FAIL, USER_LIST_REQUEST, ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TakesSkin = void 0; /** * A mixin for the `.skin()` method. * @template TBase The type of the object inside. Inferred from the `Base` parameter. * @param Base The target class. */ function TakesSkin(Base) { return class extends...
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { //...
import { ChordModel } from '@composer/core'; import { whole } from '@composer/compose'; import { useState } from 'react'; import { IconButton, Panel, PanelFilterRow, Tree, TreeItem, Select, } from '@composer/daw-components'; import { IoVolumeHighSharp, IoCodeSharp, IoLockClosedOutline, IoLockClos...
import React, { Component } from 'react'; import ComponentCatalogPanel from './ComponentCatalogPanel.js'; import classnames from 'classnames'; import {MDCRipple} from '@material/ripple/index'; import './styles/FabCatalog.scss'; class Fab extends Component { componentWillUnmount() { this.ripple.destroy(); } ...
if(process.env.NODE_ENV === 'production'){ module.exports = {mongoURI: 'mongodb://agoulzi:uwSh99HL3d6eqP9@ds026658.mlab.com:26658/examgen'} } else { module.exports = {mongoURI: 'mongodb://localhost/examGen'} }
import React from 'react' import Link from 'next/link' import firebase, { logout, loginGitHub } from '../lib/client' import Button from './Button' import Popout, { managePopout } from './Popout' import { useAuth } from './AuthContext' function Drawer(props) { return ( <Popout hidden={!props.isVisible} pointerRi...
const assert = require('assert'); Object.freeze(assert); const check = require('./src/index.js'); const config1 = [['(', ')']]; const config2 = [['(', ')'], ['[', ']']]; const config3 = [['(', ')'], ['[', ']'], ['{', '}']]; const config4 = [['|', '|']]; const config5 = [['(', ')'], ['|', '|']]; const config6 = [['1', ...
// custom scripts
// (C) Copyright 2015 Martin Dougiamas // // 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 required by applicable law or agre...
/* eslint no-unused-vars: off */ export const runParallel = async (tasks) => { const names = tasks.map(([n]) => n); const promises = tasks.map(([_, f]) => f()); const results = await Promise.all(promises); return names.reduce( (a, c, i) => a.set(c, results[i]), new Map(), ); };
// Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification // for details on configuring this project to bundle and minify static web assets. // Write your JavaScript code. window.addEventListener('scroll', reveal); function reveal() { var reveals = document.quer...
/* Copyright (c) 2018-2019 Uber Technologies, Inc. This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. */ // @flow import * as React from 'react'; import {ThemeProvider, LightTheme} from '../../index.js'; import {component as DrawerScenario} from './...
import React from 'react' import PropTypes from 'prop-types' import {Link} from 'react-router-dom' import {makeStyles} from '@material-ui/core/styles' import Typography from '@material-ui/core/Typography' import Grid from '@material-ui/core/Grid' import Card from '@material-ui/core/Card' import CardActionArea from '@ma...
// @flow import type {LogLevel} from "../shared/index.js"; /** * Determine the level at which to log. * * This will use the value of the KA_LOG_LEVEL environment variable, if * available; otherwise, defaults to "debug". */ export const getLogLevel = (): LogLevel => { const maybeLogLevel = process.env.KA_LOG_L...
/** * Theme: Zircos - Bootstrap 4 Admin Dashboard * Author: Coderthemes * Chart c3 page */ !function($) { "use strict"; var ChartC3 = function() {}; ChartC3.prototype.init = function () { //generating chart c3.generate({ bindto: '#chart', data: { c...
require('dotenv').config(); const express = require('express'); const path = require('path'); const mongoose = require('mongoose'); const session = require('express-session'); const MongoStore = require('connect-mongo')(session); const passport = require('passport'); const GoogleStrategy = require('passport-google-oaut...
import {handleActions} from 'redux-actions' import {Actions,initalzeState} from '../constants/logincheckinfo' export const reducer = handleActions({ [Actions.CHECKINFO]:(state,action)=>{ return Object.assign({},state,{shopinfo:action.payload}) } },initalzeState)
'use strict'; var chai = require('chai'); var Net = require('net'); var Socks5Client = require('socks5-client'); /* jshint unused: false */ var should = chai.should(); var expect = chai.expect; var sinon = require('sinon'); var fs = require('fs'); var bitcore = require('denariicore-lib'); var _ = bitcore.deps._; var...
import React from "react"; import styled from "styled-components"; import uuid4 from "uuid/v4"; import Dropdown from "./dropdown"; const StyledNav = styled.nav``; const List = styled.ul` display: flex; list-style: none; margin: 0; padding: 0; `; class DropdownMenu extends React.Component { state = { re...
const { expect } = require('chai'); const sinon = require('sinon'); const moxios = require('moxios'); const Assets = require('../../../../src/video/resources/assets'); /** @test {Assets} */ describe('Unit::Assets', () => { const testApiKey = 'testApiKey'; const testSecret = 'testSecret'; const testAssets = new A...
const DEFAULT_CONFIG = 'default' let chartConfiguration = { types: { Value: {formatting: '~s', minX: DEFAULT_CONFIG, maxX: DEFAULT_CONFIG}, Percentage: {formatting: '.0%', minX: DEFAULT_CONFIG, maxX: DEFAULT_CONFIG} } }; export const defaultValues = { chartConfiguration, DEFAULT_CONFIG }
import { Route, Redirect, Switch, } from 'react-router-dom'; import BorealisPDF from 'borealis-pdf'; import React from 'react'; import ReactOpenseadragon from 'react-openseadragon'; import PropTypes from 'prop-types'; import BorealisLayout from './borealis-layout'; import BorealisPPT from './borealis-ppt'; impor...
import React__default, { createElement, useEffect, useState, Fragment } from 'react'; import { styled, createTheme, ThemeProvider } from '@mui/material/styles'; import CssBaseline from '@mui/material/CssBaseline'; import Container$1 from '@mui/material/Container'; import AppBar from '@mui/material/AppBar'; import Toolb...
/*! StateRestore 1.0.1 * 2019-2020 SpryMedia Ltd - datatables.net/license */ (function () { 'use strict'; (function (factory) { if (typeof define === 'function' && define.amd) { // AMD define(['jquery', 'datatables.net-bs', 'datatables.net-staterestore'], function ($) { ...
import { FETCH_ALL_FIREBASE_DATA } from './types'; export default (state = {}, action) => { switch (action.type) { case FETCH_ALL_FIREBASE_DATA: const allFirebaseData = action.payload; return { ...state, allFirebaseData }; break; default: return state; break; } };
module.exports = { "serve": function(config, port, directory) { var express = require('express'), colors = require('colors'), fs = require('fs'); path = require('path'), faker = require('faker'), app = express(), dir = process.cwd(), watcher = require("./wat...
/*! BlocksJS 0.3.16 2014-07-01 Copyright (c) 2014 William Malone (www.williammalone.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the righ...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[102],{ /***/ "./frontend/src/views/ui/typography/Typography.vue": /*!*********************************************************!*\ !*** ./frontend/src/views/ui/typography/Typography.vue ***! \*********************************************************/ /*...
/* eslint-disable*/ 'use strict'; const autoprefixer = require('autoprefixer'); const path = require('path'); const webpack = require('webpack'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const ManifestPlugin = require('webpack-manifest-...
// @flow const express = require("express"), s3Proxy = require("s3-proxy"); // TODO: Flow type config export function createRouter(config: Object): express.Router { const router = express.Router(); router.get( "/*", s3Proxy({ bucket: config.s3.params.Bucket, prefix: config.s3BasePrefix, ...
import styled from 'styled-components'; export const ButtonContainer = styled.button` text-transform: capitalize; font-size: 1.4rem; background: transparent; border: transparent; border-radius: 8px; font-weight: light; text-transform: uppercase; cursor: pointer; transition: all 0.5s ease-in-out; &:...
function useCdKey(fnSucc, fnFail) { console.log('getBroadcast(): ajax请求'); var url = getBaseUrl() + "/data_api/use_cdkey"; var token = $("#input-account-token").val(); var cdkey = $("#input-use-cdkey").val(); var dataPara = { token: token, cdkey: cdkey }; $.ajax({ url: url, ...
import React, { Component } from "react"; import { Route } from "react-router"; import { Layout } from "./components/Layout"; import Home from "./components/Home"; import "./custom.css"; export default class App extends Component { static displayName = App.name; render() { return ( <Layout> <Ro...
let profiles = document.getElementsByClassName('profile'); // We need to use 'of' instead of 'in' here to iterate through the _values_ instead of the _keys_ of the selection for (let profile of profiles) { let bio = profile.getElementsByClassName('bio')[0]; let portrait = profile.getElementsByClassName('portra...
const sequelize = require('sequelize') const { StatusCodes } = require('http-status-codes') const { validate, wrong, validUUID } = require('../utils') const cache = require('../cache') const Contest = require('../models/Contest') const Connector = require('../models/Connector') const ConnectorClient = require('../cli...
import React from "react"; import { Route, Redirect } from "react-router-dom"; const ProtectedRoute = ({ component: Component, ...rest }) => { return ( <Route {...rest} render={() => { if (localStorage.getItem("token") === null) { return <Redirect to="/" />; } return...
var getRootNodeInContainer = require("./getRootNodeInContainer"), getNodeId = require("./getNodeId"); module.exports = getRootNodeId; function getRootNodeId(containerDOMNode) { return getNodeId(getRootNodeInContainer(containerDOMNode)); }
/*!======================================================================== * File: bootstrap-iconpicker.js v1.12.0 by @victor-valencia * https://github.com/DJStarCOM/bootstrap-iconpicker-lates * ======================================================================== * Copyright 2019-2020 Stanislav Tsepeniuk. * Licens...
import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/examples/jsm/utils/BufferGeometryUtils.js'; // import {scene} from './run.js'; import {TextMesh} from './textmesh-standalone.esm.js'; import {CapsuleGeometry} from './CapsuleGeometry.js'; import easing from './easing.js'; import * as icons from...
/*eslint-disable*/ const Book = require('../models').Book; module.exports = { addABook(request, response) { return Book.create({ isbn: request.body.isbn, title: request.body.title, genre: request.body.genre, author: request.body.author, publisher...
const BlogPost = require("../models/BlogPost") module.exports = async (req, res) => { const blogposts = await BlogPost.find({}).populate('userid'); console.log(req.session) res.render('index', { blogposts }); };
/* @generated */ // prettier-ignore if (Intl.DisplayNames && typeof Intl.DisplayNames.__addLocaleData === 'function') { ) }
// The nav should be accessible by tab only, in addition to the arrow keys // Home/End keys to jump to first/last item // No-JS version works with clicking/tapping. Only JS version supports keyboard and doesn't need the inputs. So, delete them and process focusing and keyboard actions on the li element. Add aria-expan...
/** * Copyright IBM Corp. 2018, 2018 * * This source code is licensed under the Apache-2.0 license found in the * LICENSE file in the root directory of this source tree. */ import { adjustLightness } from './tools'; import { // Blue blue30, blue40, blue50, blue60, blue70, blue80, // Gray gray10...
var dev; (function (dev) { var helpers; (function (helpers) { var validation; (function (validation) { "use strict"; /** * Determines if the given email string contains a valid technical valid email address. * It excepts unicode characters. ...
const TOKEN = 'token' const isLogged = () => !!localStorage.getItem(TOKEN) const login = tokenValue => { localStorage.setItem(TOKEN, tokenValue) } const logout = () => { localStorage.removeItem(TOKEN) } export { isLogged, login, logout }
'use strict'; const pdfjsLib = require('pdfjs-dist'); const { extractPNG } = require('./images'); const path = require('path'); const os = require('os'); const fs = require('fs'); const util = require('util'); const { convertPDFPageToPNG } = require('./images2'); const uuid = require("uuid"); const writeFile = util....
import React, { Component } from 'react' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import ConnectivityDropdown from 'components/dropdowns/connectivity' // Hidden for current deployment // import NotificationsDropdown from 'components/dropdowns/notifications' import UserDropdown from...
var HDWalletProvider = require("truffle-hdwallet-provider"); var infura_apikey = process.env.INFURAKEY; var mnemonic = process.env.MNEMONIC; console.log("key", infura_apikey); console.log("mnemonic", mnemonic); module.exports = { networks: { development: { host: "localhost", port: 8545, netwo...
import { flatten } from 'lodash'; const getDecLength = num => { const [, dec = ''] = String(num).split('.'); return dec.length; }; const removeDot = num => { return +String(num).replace('.', ''); }; const mulTwo = (a, b) => { const decAll = getDecLength(a) + getDecLength(b); return (removeDot(a) ...
/*global define*/ define([ './defaultValue', './defined', './DeveloperError' ], function( defaultValue, defined, DeveloperError) { 'use strict'; /** * Represents a scalar value's lower and upper bound at a near distance and far distance in eye space. ...
// @flow export default class C2lcURLParams { urlSearchParams: URLSearchParams; constructor(query: string) { this.urlSearchParams = new URLSearchParams(query); } getVersion() { return this.urlSearchParams.get('v'); } getProgram() { return this.urlSearchParams.get('p')...
let ace = require('ace'); let es = require('../../src/es'); let input = require('../../src/input'); let editor_input1 = require('raw!./editor_input1.txt'); var aceRange = ace.require("ace/range"); var {test, module, ok, fail, asyncTest, deepEqual, equal, start} = QUnit; module("Editor", { setup: function () { ...
import React, { useState, useEffect, Fragment } from 'react'; import { useDispatch } from 'react-redux'; import server from '../../../server/server'; import { startLoading, stopLoading } from '../../../store/actions'; import Paginantion from './Paginantion'; import { Link } from 'react-router-dom'; const initialValues...
module.exports = { siteMetadata: { title: `Rising Lotus`, description: `TODO`, author: `@JoeAdotdev`, }, plugins: [ // { // resolve: `gatsby-plugin-transition-link`, // options: { // layout: require.resolve(`./src/components/layout.js`), // }, // }, { resolv...
import rawDisplayer from './rawDisplayer.vue'; export default { install(Vue) { Vue.component('rawDisplayer', rawDisplayer); }, };
const materials = ['Hydrogen', 'Helium', 'Lithium', 'Beryllium']; console.log(materials.map(material => material.length)); // expected output: Array [8, 6, 7, 9] // Lexical this var bob = { _name: 'Bob', _friends: [], printFriends() { this._friends.forEach(f => console.log(this._name + ' knows ' + f)); } ...
class ShapeI extends Tetracube { constructor() { super(); // Translate the cubes to build the Tetracube mat4.translate(this.cubes[0].modelMatrix, this.cubes[0].modelMatrix, [-3, 1, -1]); mat4.translate(this.cubes[1].modelMatrix, this.cubes[1].modelMatrix, [-1, 1, -1]); mat4...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var discord_js_1 = require("discord.js"); var ms_1 = __importDefault(require("ms")); var config_1 = requ...
'use strict'; /** * Module dependencies */ var blurbsPolicy = require('../policies/blurbs.server.policy'), blurbs = require('../controllers/blurbs.server.controller'); module.exports = function(app) { // Blurbs Routes app.route('/api/blurbs').all(blurbsPolicy.isAllowed) .get(blurbs.list) .post(blurbs....
import { Utilities } from './utilities'; /** * This {Observable} class contains the utility methods for implementing the Observer Pattern. */ export default class Observable { /** * Creates a instance of ModelTracker. * @param {object} object - the object object to keep track of changes. * @param verbose ...
const url = require("url"); const fetch = require("node-fetch"); const defaultAvatarPreview = 'https://preview.webaverse.com/[https://raw.githubusercontent.com/avaer/vrm-samples/master/vroid/male.vrm]/preview.png'; const defaultHomeSpacePreview = 'https://desktopography.net/wp-content/uploads/bfi_thumb/desk_ranko_blazi...
/** * Responds to any HTTP request. * * @param {!express:Request} req HTTP request context. * @param {!express:Response} res HTTP response context. */ const puppeteer = require('puppeteer') exports.screenshot = function(request, response) { ;(async () => { const url = request.query.url const width = parseInt...
// import { getModelProperties } from "./components/Viewer/Viewer-helpers"; // const getModelProperties = require('./components/Viewer/Viewer-helpers'); // import {getModelProperties} from "./components/Viewer/Viewer-helpers"; var viewer; var lmvDoc; var viewables; var indexViewable; var options = { env: 'Autodes...
/** * [SIMINOV FRAMEWORK] * Copyright [2015] [Siminov Software Solution LLP|support@siminov.com] * * 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/license...
/* * Copyright (c) WSO2 Inc. (http://wso2.com) All Rights Reserved. * * 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 required...
"use strict"; // Copyright 2018, 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 // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or a...
import React from 'react' import { Redirect } from 'react-router-dom' // bootstrap components import Container from 'react-bootstrap/Container' import Button from 'react-bootstrap/Button' import Col from 'react-bootstrap/Col' import Form from 'react-bootstrap/Form' import ProgressBar from 'react-bootstrap/ProgressBar...
module.exports = function config(api) { return { presets: [ ['@babel/preset-env', { targets: { node: 'current', }, forceAllTransforms: api.env('production'), useBuiltIns: 'entry', corejs: '3.0.0', }], '@babel/preset-flow', ], plugins: [ ...
import * as React from "react"; import "../utils/style.css"; function UimToiletPaper(props) { return /*#__PURE__*/React.createElement("svg", Object.assign({}, props, { "data-name": "Layer 1", viewBox: "0 0 24 24", width: props.size || '1em', height: props.size || '1em', fill: "currentColor", ...
/* Imports needed by system */ import React from "react"; import clsx from "clsx"; import PropTypes from "prop-types"; import { capitalize } from "@material-ui/core/utils"; import { withStyles } from "@material-ui/core/styles"; import MuiPaper from "@material-ui/core/Paper"; const styles = (theme) => ({ backgroundLi...
// Copyright 2009 the Sputnik authors. All rights reserved. /** * Number.NEGATIVE_INFINITY is DontDelete * * @path ch15/15.7/15.7.3/15.7.3.5/S15.7.3.5_A3.js * @description Checking if deleting Number.NEGATIVE_INFINITY fails * @noStrict */ // CHECK#1 if (delete Number.NEGATIVE_INFINITY !== false) { $ERROR('#1:...
const Game = require('../src/game').default const fs = require('fs') describe('App', () => { it('Contains the compiled JavaScript', async () => { fs.readFile('./public/main.js', 'utf8', (err, data) => { expect(err).toBe(null) }) }) }) describe('Game', () => { let game, p1, p2 beforeEach(() => { ...
/*! * remark (http://getbootstrapadmin.com/remark) * Copyright 2015 amazingsurge * Licensed under the Themeforest Standard Licenses */
const Qless = require('../../../qless').Client; exports.command = 'cancel [jid]'; exports.desc = 'cancel a qless job'; exports.builder = { 'jid': { alias: 'j', required: true, }, }; exports.handler = (yargs) => { const client = new Qless({ host: yargs.host, port: yargs.port, db: yargs.db, }...
import { connect } from 'react-redux'; import OpticalNodeUpdateForm from '../../components/opticalNode/OpticalNodeUpdateForm'; import { getUpdateProps } from '../../utils/mapPropsFormFactory'; import { getDispatchPropsUpdate } from '../../utils/mapDispatchFormFactory'; const ENTITY_NAME = 'opticalNode'; const mapSta...
const router = require('express').Router(); const Stuff = require('../../models/stuff/stuff-model.js'); const authenticate = require('../../middleware/auth.js'); const moment = require('moment'); router.post('/', authenticate, (req, res) => { const stuffData = req.body; if (!stuffData.Title || !stuffData.categor...
// Include this file if you want the navbar to disappear/reappear when scrolling down/up the page. var navbar; var position = window.pageYOffset; var scroll; var navbarHeight; var navbarMargin; document.addEventListener("DOMContentLoaded", function () { navbar = document.getElementById("navbar"); navbarStyles ...
import * as React from 'react'; import { StyledIconBase } from '@styled-icons/styled-icon'; export const ArrowLongRight = /*#__PURE__*/React.forwardRef((props, ref) => { const attrs = { "fill": "currentColor", "xmlns": "http://www.w3.org/2000/svg" }; return /*#__PURE__*/React.createElement(StyledIconBase,...
$(function() { $('#post-comment').on('click', function() { $('#new-comment').focus(); }); $('.post-like').on('click', function() { let post_id = $(this).data('id'); $.ajax({ url: '/post/like/' + post_id, method: 'GET' }).done(function(response) { console.log(response); }); ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = void 0; var _react = _interopRequireDefault(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _styles = require("@buffetjs/styles"); var _Label = _interopRequireDefault(require("...
/* eslint-disable padded-blocks */ var assert = require('chai').assert, COA = require('..'); /** * Mocha BDD interface. */ /** @name describe @function */ /** @name it @function */ /** @name before @function */ /** @name after @function */ /** @name beforeEach @function */ /** @name afterEach @function */ descr...
const path = require('path'); const webpackConfig = require('../webpack'); // Deleting output.library to avoid "Uncaught SyntaxError: Unexpected token /" error // when running testes (var test/foo_test.js = ...) delete webpackConfig.output.library; // Code coverage webpackConfig.module.rules.push({ test: /\.js$/, ...
import Vue from 'vue'; import Random from 'random-js' import Prob from 'prob.js' import uuid from 'uuid/v4' import PromiseWorker from 'promise-worker' import ParticleLifeWorker from 'worker-loader!~/assets/script/particle-life.worker.js' import {chunk} from 'lodash' const $particles = Vue.prototype.$particles = { } ex...
var path = require("path"); var assert = require("assert"); var promisify = require("promisify-node"); var fse = promisify(require("fs-extra")); var local = path.join.bind(path, __dirname); describe("Clone", function() { var NodeGit = require("../../"); var Repository = NodeGit.Repository; var Clone = NodeGit.Cl...
const path = require('path'); const getPages = require('./util/get-pages'); const transformPages = require('./util/transformer'); function pageToRoute({pathname, dest}, i) { return `'${pathname}': {dest: '${dest}', title: title${i}, description: description${i}, date: date${i}}`; } function pageLoader(source) { ...
// Cargamos las validaciones del email login.after('<script src="/js/validaciones/email.js" charset="utf-8"></script>'); // Cargamos las validaciones de la contraseña login.after('<script src="/js/validaciones/password.js" charset="utf-8"></script>');
function my_function922(){ //60481245495402685204892632450587tyaVbDUiWxnckCmZwIIglIzypwfFHKEi } function my_function557(){ //88479918756770238585959634921414NcRLaRthpHLZZXyswTTqRdgfiEPhmMRs } function my_function623(){ //43385043192738376946747192563819JAdoZHOudLtwvoXiZHOFxWsiQHqmZjse }
import { connect } from "react-redux"; import CreateVideoForm from "../../components/CreateVideoForm"; const mapStateToProps = state => { return { loggedin:state.user.active, userCurrency: state.locale.currency, downloadsRemaining: state.user.downloads_remaining }; }; export default co...
import React from 'react'; import github from '../images/github.png'; import Linkedin from '../images/Linkedin.png'; import stackoverflow from '../images/stackoverflow.png'; export default function Footer() { return ( <div> <nav className="navbar navbar-expand-lg w-full d-flex justify-content-c...
import './App.css'; import { LanguageProvider } from "./context/LanguageContext"; import Home from './pages/Home'; export default function App() { return ( <LanguageProvider> <Home /> </LanguageProvider> ) };
import React from "react"; import Helmet from "react-helmet"; import { graphql } from "gatsby"; import Layout from "../components/Layout"; import PageTemplateDetails from "../components/PageTemplateDetails"; class PageTemplate extends React.Component { render() { const { title, subtitle } = this.props.data.site....
const Discord = require("discord.js"); const wiki = require("wikijs").default; module.exports = { name: "wikipedia", category: "🛠 | Utility", usage: "wikipedia <your question>", aliases: ["wiki"], description: "Get information from wikipedia", run: async (bot, message, args) => { const query = message...