text
stringlengths
2
1.04M
export default from './Select'; export {Select} from './Select';
/* Name: Product Landing Written by: Okler Themes - (http://www.okler.net) Theme Version: 9.0.0 */ (function( $ ) { 'use strict'; /* Quantity */ $('.quantity .plus').on('click',function(){ var $qty=$(this).parents('.quantity').find('.qty'); var currentVal = parseInt($qty.val()); i...
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import { CardNumberElement, CardExpiryElement, CardCVCElement } from 'react-stripe-elements'; import { ControlLabel, FormGroup } from 'react-bootstrap'; const propTypes = { getValidationState: PropTypes.func.isRequired }; const ...
/// /// \file webpack.config.js /// \brief Configuration for building the frontend with Webpack. /// // Imports const Path = require("path"); // Export configuration. module.exports = { // The frontend's entry point. entry: Path.join(__dirname, "client/index.js"), // The bundle file's output path...
/* Copyright 2013-2016 Extended Mind Technologies Oy * * 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 applicab...
import XRAnchor from './XRAnchor.js' import ARKitWrapper from './platform/ARKitWrapper.js' import MatrixMath from './fill/MatrixMath.js' /* XRPresentationFrame provides all of the values needed to render a single frame of an XR scene to the XRDisplay. */ export default class XRPresentationFrame { constructor(session,...
/** * Route whiskey requests to the correct controller function. * * A request includes: * an HTTP verb (e.g., get or post) AND * a URL endpoint (e.g., /create) * * Match each expeced verb + URL request * with a custom function to handle it * * @author Stephen Burke <burke.stephenpaul@gmail.com> */ const ...
import WaveformDataUtils from '../WaveformDataUtils'; import { testSmData } from '../testing-helpers'; import Peaks from 'peaks'; import { cleanup } from 'react-testing-library'; const waveformUtils = new WaveformDataUtils(); afterEach(cleanup); describe('WaveformDataUtils class', () => { test('initializes peaks s...
/** * Создает экземпляр указанного шаблона. Если передан элемент шаблона * (TemplateElement - HTMLElement подходящий под свойства экземпляра шаблона), * то в качестве HTMLElement'a используется он. * * @param {Template} template * @param {HTMLElement} element * @constructor */ export default func...
import React from 'react'; import { motion } from 'framer-motion'; import ReadReviewsImg from "../../images/read-review-card-img.png"; import WriteReviewImg from "../../images/write-review-card-img.png"; function Index() { return ( <React.Fragment> <div className="hero-image"> <div className="hero-...
import React from "react" import { Helmet } from "react-helmet" import Navbar from "../components/navBar" import { Row, Col, Container } from "react-bootstrap"; import Wiggle from "../components/wiggle" import GoogleForm from "../components/epicFormModal" export default function index() { return ( <> ...
ace.define("ace/theme/monokai",["require","exports","module","ace/lib/dom"], function(require, exports, module) { exports.isDark = true; exports.cssClass = "ace-monokai"; exports.cssText = ".ace-monokai .ace_gutter {\ background: transparent;\ color: #8F908A\ }\ .ace-monokai .ace_print-margin {\ width: 1px;\ backgroun...
import Vue from 'vue' import Router from 'vue-router' import Home from './views/Home.vue' import Profile from './views/Profile.vue' import Post from './views/Post.vue' import UserPage from './views/UserPage.vue' import Validation from './views/Validation.vue' import Api from './api' Vue.use(Router) export default new...
angular.module('proton.composer') .directive('composer', ($rootScope, embedded) => { const CLASS_DRAGGABLE = 'composer-draggable'; const CLASS_DRAGGABLE_EDITOR = 'composer-draggable-editor'; const addDragenterClassName = (el, className = CLASS_DRAGGABLE) => el.classList.add(className); ...
var classnc_1_1_nd_array = [ [ "const_iterator", "classnc_1_1_nd_array.html#a314e112215cfe6abdba35adf0998899b", null ], [ "iterator", "classnc_1_1_nd_array.html#af5fd346e89b4a6117ed4a2296fe68959", null ], [ "NdArray", "classnc_1_1_nd_array.html#aa095c262c5a896ab349c1913f55c3cc5", null ], [ "NdArray", "c...
var expect = require('chai').expect; var ReadlineStub = require('../../helpers/readline'); var Base = require('../../../lib/prompts/base'); describe('`base` prompt (e.g. prompt helpers)', function () { beforeEach(function () { this.rl = new ReadlineStub(); this.base = new Base({ message: 'foo bar', ...
#!/usr/bin/env node 'use strict' const program = require('commander') const packagePath = require('parent-package-json') const fs = require('fs') const mkdirp = require('mkdirp') const classTemplate = require('./lib/react/class') const statelessTemplate = require('./lib/react/stateless') // // Helper Functions // ==...
import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) /* Layout */ import Layout from '@/layout' import MainApp from '@/views/caseList/createCase/index.vue' /** * Note: sub-menu only appear when route children.length >= 1 * Detail see: https://panjiachen.github.io/vue-element-admin-site/guide/essen...
var UITreeview = function() { "use strict"; //function to initiate jquery.dynatree var runTreeView = function() { //Default Tree $('#tree').jstree({ "core" : { "themes" : { "responsive" : false } }, "types" : { "default" : { "icon" : "fa fa-folder text-primary fa-lg" }, "fi...
import React from "react"; import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'reactstrap'; import {deleteTemplate } from '../state/actions/templateAction'; import { connect } from 'react-redux'; import { withRouter } from 'react-router-dom'; class DeleteTemplate extends React.Component { render() ...
/** * Auto-generated action file for "Microsoft Graph API" API. * * Generated at: 2019-08-07T14:53:10.270Z * Mass generator version: 1.1.0 * * flowground :- Telekom iPaaS / microsoft-graph-api-connector * Copyright © 2019, Deutsche Telekom AG * contact: flowground@telekom.de * * All files of this connector ar...
import React from "react"; import { SvgXml } from "react-native-svg"; export default function SvgEyeballPie(props) { const svgMarkup = `<svg width="161" height="161" viewBox="0 0 160 161" fill="none" xmlns="http://www.w3.org/2000/svg"> <circle cx="80" cy="80.8605" r="80" fill="white"/> <circle cx="73.3333" cy="90...
/* linkchecker.js is part of Aloha Editor project http://aloha-editor.org * * Aloha Editor is a WYSIWYG HTML5 inline editing library and editor. * Copyright (c) 2010-2012 Gentics Software GmbH, Vienna, Austria. * Contributors http://aloha-editor.org/contribution.php * * Aloha Editor is free software; you can r...
// Regular expression that matches all symbols in the `Common` script as per Unicode v5.1.0: /[\x00-\x40\x5B-\x60\x7B-\xA9\xAB-\xB9\xBB-\xBF\xD7\xF7\u02B9-\u02DF\u02E5-\u02FF\u0374\u037E\u0385\u0387\u0589\u0600-\u0603\u060C\u061B\u061F\u0640\u0660-\u0669\u06DD\u0964\u0965\u0970\u0CF1\u0CF2\u0E3F\u10FB\u16EB-\u16ED\u173...
import executeHooksWithArgs from '../src/executeHooksWithArgs' describe('executeHooksWithArgs', () => { beforeEach(() => { global.browser = {} }) it('multiple hooks, multiple args', async () => { const hookHoge = () => { return 'hoge' } const hookFuga = () => { return 'fuga' } ...
object-assign (c) Sindre Sorhus @license MIT */ \u2028\u2029".indexOf(this.buffer.charAt(i-1))===-1;)if(i-=1,this.position-i>t/2-1){r=" ... ",i+=5;break}for(s="",a=this.position;a<this.buffer.length&&"\0\r\n * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.or...
describe("FizzBuzz", function() { var fizzBuzz; beforeEach(function() { fizzBuzz = new FizzBuzz(); }); describe("#play", function() { it("returns 'fizz' when passed 3", function() { expect(fizzBuzz.play(3)).toEqual("fizz"); }); it("returns 'fizz' when passed a multiple of 3", function()...
import React from 'react' import { Redirect, Route } from 'react-router-dom' import { decodeJWT } from 'services/jwtDecode' const RedirectComponent = ({ component: Component, isAdminRoute, ...props }) => { if (!localStorage.jwt_token) { return <Redirect to={{ pathname: '/login' }} /> } try { const decode...
require('./bootstrap'); require('./functinon')
import React from 'react'; export default <div style={{ maxHeight: 25 }}>NMR</div>;
import React from "react"; import { FaCaretLeft, FaCaretRight, FaCaretUp, FaSpaceShuttle } from 'react-icons/fa'; export default function AsteroidsRules({ setGameProcess }) { function renderPrepare() { setGameProcess({ renderHome: false, renderRules: false, renderPrepare: true, renderCan...
import React from 'react' import { Header } from 'shengnian-ui-react' const HeaderExamplePage = () => ( <div> <Header as='h1'>First Header</Header> <Header as='h2'>Second Header</Header> <Header as='h3'>Third Header</Header> <Header as='h4'>Fourth Header</Header> <Header as='h5'>Fifth Header</Hea...
require('../') Promise.reject(null) // eslint-disable-line
'user strict'; const Boom = require('boom'); const User = require('../model'); exports.get = { handler: handleGetMe, auth: 'jwt' }; exports.put = { handler: handlePutMe, auth: 'jwt' }; function handleGetMe(request, reply) { User .findById(request.auth.credentials.user._id) .then((user) => { reply(user.toObj...
MD.Toolbar = function () { // tools left $("#tools_left .tool_button").on("click", function () { // 获取当前工具的模式 const mode = this.getAttribute("data-mode"); state.set("canvasMode", mode) if (mode === "shapelib") showShapeLib() }); // 切换工具的模式 function setMode(mode) { $(".tool_button").remov...
import axios from 'axios'; const API_KEY ='f86726ab19393cd71942b4e321af9c27'; const ROOT_URL =`http://api.openweathermap.org/data/2.5/forecast?appid=${API_KEY}`; //const ROOT_URL ='http://api.openweathermap.org/data/2.5/forecast?q=London,us&appid=b6907d289e10d714a6e88b30761fae22'; export const FETCH_WEATHER = 'FETCH_W...
/** * Copyright (c) 2014-present, Facebook, Inc. All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @emails onca...
var utils = require('ethereumjs-util'); var inherits = require('util').inherits; var StateManager = require('../statemanager.js'); var to = require('../utils/to'); var txhelper = require('../utils/txhelper'); var blockHelper = require('../utils/block_helper'); var pkg = require('../../package.json'); var _ = require('l...
var app = require('express')(); var server = require('http').createServer(app); var io = require('socket.io').listen(server) var port = process.env.PORT || 80; var Client = require('node-rest-client').Client; server.listen(port); var client = new Client(); var obj = {}; var _ = require('underscore'); // direct way c...
/* Highcharts JS v6.2.0 (2018-10-17) Exporting module (c) 2010-2018 Torstein Honsi License: www.highcharts.com/license */ (function(r){"object"===typeof module&&module.exports?module.exports=r:"function"===typeof define&&define.amd?define(function(){return r}):r(Highcharts)})(function(r){(function(f){var r=f.defa...
/* eslint-env node */ const path = require('path'); const webpack = require('webpack'); const BundleTracker = require('webpack-bundle-tracker'); const VueLoaderPlugin = require('vue-loader/lib/plugin'); const CircularDependencyPlugin = require('circular-dependency-plugin'); const TerserPlugin = require('terser-webpa...
var data=[['19901219',77.641], ['19901220',81.569], ['19901221',85.702], ['19901224',90.040], ['19901225',94.582], ['19901226',99.369], ['19901227',99.369], ['19901228',100.372], ['19901231',101.395], ['19910102',102.418], ['19910103',103.462], ['19910104',104.505], ['19910107',105.037], ['19910108',105.569], ['1991010...
var utils = require('../../../../utils.js'); var is = require('joi'); module.exports = is.object({ name: 'UserAddresses', type: 'object', file: is.string(), root: is.string(), is_dependency: is.boolean(), dependants: is.array(), key: '_id', seed: 0, data: { min: 0, max: 0, count: 1, d...
/*! Summernote v0.8.6 | (c) 2013- Alan Hong and other contributors | MIT license */ !function(a){a.extend(a.summernote.lang,{"pt-PT":{font:{bold:"Negrito",italic:"Itálico",underline:"Sublinhado",clear:"Remover estilo da fonte",height:"Altura da linha",name:"Fonte",strikethrough:"Riscado",size:"Tamanho da fonte"},image...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return function (d, b)...
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may no...
class t_events{ // t_list_of_events_and_functions eventss; constructor(){ this.eventss = []; } add_event_uab(event_name,listener){ if(this.eventss.length ==0){ this.eventss.push(event_name); this.eventss[event_name] = []; } else{ if(this.eventss.indexOf[event_name] == -1){ // nu este in lista ...
import produce from 'immer'; export const INITIAL_STATE = []; export default function techs(state = INITIAL_STATE, action) { return produce(state, draft => { switch(action.type) { case 'ADD_TECH': draft.push(action.payload.tech); break; default: ...
// #todo 'use strict'; /** * reverses a string * @param {string} [toReverse=''] - the string to reverse * @returns {string} the reversed argument */ // -------- your solutions -------- for (const solution of [secretSolution]) { // the main test suite for the function describe(solution.name + ': reverses a s...
import Icon from '../components/Icon.vue' Icon.register({"unsorted":{"width":1024,"height":1792,"paths":[{"d":"M1024 1088q0 26-19 45l-448 448q-19 19-45 19t-45-19l-448-448q-19-19-19-45t19-45 45-19h896q26 0 45 19t19 45zM1024 704q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45 19-45l448-448q19-19 45-19t45 19l448 448q19 19 19 4...
// @flow /* eslint-disable max-len */ import React, { Component } from 'react'; import { uid } from 'react-uid'; import { type Props, DefaultProps } from '../constants'; import Wrapper from '../Wrapper'; const svg = (iconGradientStart: string, iconGradientStop: string) => { const id = uid({ iconGradientStart: iconG...
const express = require('express'); const router = express.Router(); const controller = require('../../controllers/guildController'); router.get('/', controller.get); // router.post('/', controller.create); // router.put('/', controller.update); // router.delete('/', controller.remove); module.exports = router;
import { Avatar, ListItem, ListItemAvatar, ListItemSecondaryAction, ListItemText, Typography } from '@material-ui/core'; import { makeStyles } from '@material-ui/core/styles'; import PropTypes from 'prop-types'; import React, { useEffect, useState } from 'react'; import useIsInViewport from 'use-is-in-viewport'; impor...
import React, { useEffect, useState } from 'react'; import { StyleSheet, Text, View, TouchableOpacity } from 'react-native'; import { SimpleLineIcons } from '@expo/vector-icons'; import { useDispatch, useSelector } from 'react-redux'; import Constants from 'config/constants'; import { styles } from './styles'; import ...
var pairs = { "onrecordrevert":{"\u5728":1} ,"\u5728":{"\u8FD8":1,"\u5B58":1,"\u672A":1,"\u4F55":1} ,"\u8FD8":{"\u539F":1} ,"\u539F":{"\u4E00":1,"\u8BB0":1,"\u6216":1,"\u3002":1,"\u5B57":1} ,"\u4E00":{"\u7EC4":1} ,"\u7EC4":{"\u8BB0":1} ,"\u8BB0":{"\u5F55":1,"\u5F55\u002F\u8BF7":1} ,"\u5F55":{"\u4E4B":1,"\u201D":1,"\u66...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import { i18n } from '@kbn/i18n'; import { loadClusters as sendLoadClustersR...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * @emails react-core * @flow */ import {graphql, Link} from 'gatsby'; import Layout from 'components/Layout'; import Container from 'components/Container'; import Header from 'components/Header'; import TitleAndMetaTags from 'components/TitleAndMetaTags'; i...
const state = { unfinishedOrderId: '', products: [], globalSales: [], groupSales: [], } const mutations = { ADD_PRODUCT(state, product) { const existProduct = state.products.find(p => p.id === product.id); if (existProduct !== undefined) { state.products = state.product...
import { join } from "path"; import { existsSync } from "fs"; import { exec } from "child_process"; import { resolveTilde } from "./resolve-tilde.js"; import { setSlugForId } from "./slug-map.js"; import romans from "romans"; import alphaCount from "./alphaCount.js"; import env from "../env.js"; import { decorateBloc...
function noticeChecked(){ var notice = document.querySelectorAll(".notification div"); notice.forEach(element => { element.classList.add("noticeBackground"); }); }
import InternalClass from "../constructors/internalClass"; export default class TurtleState extends InternalClass { constructor(main) { super(main); this.position = { x: this.main.canvas.width / 2, y: this.main.canvas.height / 2, }; var initialState = main.options.state; this.rotat...
/* global variables: var formResolution = 15; var stepSize = 2; var distortionFactor = 1; var initRadius = 150; var centerX; var centerY; var x = []; var y = []; var filled = false; var freeze = false; */ function sAgentSetup() { createCanvas(windowWidth, windowHeight); // init shape centerX = width / 2; cen...
// Karma configuration file, see link for more information // https://karma-runner.github.io/1.0/config/configuration-file.html module.exports = function (config) { config.set({ basePath: '', frameworks: ['jasmine', '@angular-devkit/build-angular'], plugins: [ require('karma-jasmine'), requir...
(function() { var permitList = [], timeouts = [], whiteList = [], blackList = [], spamTracker = {}, linksToggle = $.getSetIniDbBoolean('chatModerator', 'linksToggle', false), linksMessage = $.getSetIniDbString('chatModerator', 'linksMessage', 'you were timed out for ...
import { module, flushBackburner, transitionTo, transitionToWithAbort, shouldNotHappen, shouldBeTransition } from "tests/test_helpers"; import Router from "router"; import { resolve, configure, reject, Promise } from "rsvp"; var router, url, handlers, expectedUrl, actions; module("The router", { setup: function() {...
import React from 'react' import { CFooter } from '@coreui/react' const TheFooter = () => { return ( <CFooter fixed={false}> <div> <a href="https://coreui.io" target="_blank" rel="noopener noreferrer">Stripe </a> <span className="ml-1">&copy; 2020 creativeLabs.</span> </div> <di...
/* global source, describe, it, expect */ const Bitbox = source('bitbox.js'); function foo() { } function bar() { } function baz() { } function qux() { } describe('Bitbox', () => { it('is constructable', (next) => { const box = new Bitbox(); expect(box).to.be.instanceOf(Bitbox); next(); }); describe('wor...
/* * Copyright 2019 EPAM Systems * * 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 agreed to in ...
var webpage = require('webpage') var BaseCrawler = function (CFG, onScrapingDone) { this.page = webpage.create() this.POSTS = [] this.CFG = CFG this.URLS = typeof CFG['url'] === 'object' ? CFG['url'] : [CFG['url']] if (CFG.cookies) { this.CFG.cookies.forEach(phantom.addCookie) } this.onStateChange = this....
"use strict"; const Code = require("@hapi/code"); const expect = Code.expect; const Lab = require("@hapi/lab"); const lab = exports.lab = Lab.script(); const describe = lab.describe; const it = lab.it; const before = lab.before; // const after = lab.after; // const beforeEach = lab.beforeEach; // const afterEach = lab....
'use strict'; // Declare app level module which depends on views, and components var myApp = angular.module('myApp', [ 'ngRoute', 'configuration', 'myApp.home', 'myApp.gesetze', 'myApp.bachprojekte', 'myApp.elementargefahren', 'myApp.verein', 'myApp.post' ]) myApp.config(['$routeProvi...
const controller_factory = require('../controller_factory.js'); jest.mock('../controllers/tuya_outlet.js'); jest.mock('tuyapi'); beforeEach(() => { jest.clearAllMocks(); }); it('throws for unknown makers', () => { expect(() => controller_factory('unknown', '', {})) .toThrow('Unknown device maker "unknown"');...
if ( typeof window === 'undefined' ) { require('../../app/core/strings'); var expect = require('chai').expect; } describe('strings', function() { it('you should be able to reduce duplicate characters to a desired minimum', function() { expect(stringsAnswers.reduceString('aaaabbbb', 2)).to.eql('aabb'); ex...
const test = require('ava'); const { ethers, upgrades } = require('hardhat'); test.before(async t => { t.context.Greeter = await ethers.getContractFactory('Greeter'); t.context.GreeterV2 = await ethers.getContractFactory('GreeterV2'); t.context.Beacon = await ethers.getContractFactory('Beacon'); }); const IS_N...
import React from 'react' import PropTypes from 'prop-types' import parsePropTypes from 'parse-prop-types' const SimpleButton = ({ text, secondary }) => { return <button className={secondary ? 'secondary' : null}>{text}</button> } SimpleButton.propTypes = { text: PropTypes.string, secondary: PropTypes.oneOfType...
/** * Copyright 2016 Google Inc. 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 by appli...
/*! jQuery v3.2.1 -ajax,-ajax/jsonp,-ajax/load,-ajax/parseXML,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-event/ajax,-effects,-effects/Tween,-effects/animatedSelector | (c) JS Foundation and other contributors | jquery.org/license */
typeSearchIndex = [{"p":"<Unnamed>","l":"Account"},{"l":"All Classes","url":"allclasses-index.html"},{"p":"<Unnamed>","l":"Artikel"},{"p":"<Unnamed>","l":"Bestellungen"},{"p":"<Unnamed>","l":"ClientGuiCommandBased"},{"p":"<Unnamed>","l":"InterfaceForServer"},{"p":"<Unnamed>","l":"Lager"},{"p":"<Unnamed>","l":"Onlinesho...
const {User} = require('../../models/user') const {ActualTotalLoad} = require('../../models/actualTotalLoad') const mongoose = require('mongoose') const config = require('config') const request = require('supertest') const app = require('../../app') // actual jwt's for admin and user. let token1 = "eyJhbGciOiJIUzI1NiI...
export default function unpackOverlay(arrayBuffer) { const bitArray = new Uint8Array(arrayBuffer); const byteArray = new Uint8Array(8 * bitArray.length); for (let byteIndex = 0; byteIndex < byteArray.length; byteIndex++) { const bitIndex = byteIndex % 8; const bitByteIndex = Math.floor(byteIndex / 8); ...
export const rain16 = "M16 9.5a3.495 3.495 0 0 0-2.07-3.188 3.989 3.989 0 0 0-7.815-.227 2.462 2.462 0 0 0-3.07 1.96A2.498 2.498 0 0 0 3.5 13h9A3.5 3.5 0 0 0 16 9.5zM5.5 7a1.493 1.493 0 0 1 .368.054l.987.252.233-.992a2.989 2.989 0 0 1 5.857.17l.092.522.484.218A2.496 2.496 0 0 1 12.5 12h-9a1.498 1.498 0 0 1-.273-2.97l.6...
import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; import App from './App'; import store from './store'; import registerServiceWorker from './registerServiceWorker'; ReactDOM.render( <Provider store={store}> <App /> </Provider>, document.getElementById('root'...
export default { LANGUAGES: { 'en-US': 'English', 'es-ES': 'Español', 'fr-FR': 'Français', 'it-IT': 'Italiano', 'pt-BR': 'Portugues - Brazil' } }
(this["webpackJsonpniceup-console"]=this["webpackJsonpniceup-console"]||[]).push([[8],{663:function(e,t,n){"use strict";n.r(t),n.d(t,"icon",(function(){return o}));var r=n(0);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnPro...
module.exports = { tag: 'c:txPr', c: [ { tag: 'a:bodyPr', $: {rot: '-60000000', spcFirstLastPara: '1', vertOverflow: 'ellipsis', vert: 'horz', wrap: 'square', anchor: 'ctr', anchorCtr: '1'}, }, { tag: 'a:lstStyle', }, { tag: 'a:p', c: [ { tag: 'a:p...
var db = require('../server/db.js'); var assert = require('assert'); var author = { name: 'Slash', email: 'email@me.com', }; var author_update = { name: 'Morbid', email: 'morbid@angel.org', } var author_id; describe('Author Table Test', function(){ it('Should save new author', function(done){ ...
const { createProxyMiddleware } = require('http-proxy-middleware'); module.exports = function(app) { app.use( '/api', createProxyMiddleware({ target: 'https://boss-test.fengyouhui.net/be', changeOrigin: true, }) ); };
/** 3P dependency imports */ import React from "react" /** Component dependencies */ import Layout from "./../../../components/layout" import SEO from "./../../../components/seo" import Header from "./../../../components/Header" import FooterBreadcrumb from "../../../components/FooterBreadcrumb" /** constants **/ imp...
import { getBreak, getCommonContainer, getCommonGrayCard, getCommonSubHeader, getLabel, getLabelWithValue, convertEpochToDate } from "egov-ui-framework/ui-config/screens/specs/utils"; import { gotoApplyWithStep, checkValueForNA } from "../../utils/index"; import { getTransformedLocale, getQu...
import React from 'react'; import ReactDOM from 'react-dom'; import JqxBarGauge from '../../../jqwidgets-react/react_jqxbargauge.js'; class App extends React.Component { render() { let labels = { formatFunction: (value) => { return value + ' m'; ...
/* jshint expr: true, mocha:true */ (function () { 'use strict'; const assert = require('assert'); const Promise = require('bluebird'); const fb = require('..').fb; const FirebirdUtils = require('../app/firebird/utils'); const DataUtils = require('../app/utils/dataUtils'); const options =...
export default (theme) => ({ // root: { // width: '100%', // }, // flex: { // flex: 1, // }, // drawerList: { // width: 250, // }, // flexCtr: { // display: 'flex', // alignItems: 'center', // width: '100%', // justifyContent: 'space-between', // }, // menuButton: { // ...
var HOST_URI = 'https://cnodejs.org/api/v1'; var GET_TOPICS = '/topics'; var GET_TOPIC_BY_ID = '/topic/'; function obj2uri (obj) { return Object.keys(obj).map(function (k) { return encodeURIComponent(k) + '=' + encodeURIComponent(obj[k]); }).join('&'); } module.exports = { // 获取内容页数据 getTopic...
import React,{useState ,useEffect} from 'react' import { useSelector, useDispatch } from 'react-redux' import { CCreateElement, CSidebar, CSidebarBrand, CSidebarNav, CSidebarNavDivider, CSidebarNavTitle, CSidebarMinimizer, CSidebarNavDropdown, CSidebarNavItem, } from '@coreui/react' import CIcon from...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.default = exports.styles = void 0; var _extends2 = _int...
import React, { Component } from 'react'; import withCallbacks from './callbacks'; const withErrorBoundary = (WrappedComponent) => { class WithErrorBoundary extends Component { render () { return ( <ErrorBoundary translator={this.props.env.translator} cssClass={this.props.params...
import { convertDateForDiscord, diffDate } from '../../util/util.js' import { GuildAuditLogs } from 'discord.js' export default async (ban, client) => { if (ban.user.bot || ban.guild.id !== client.config.guildID || !ban.guild.available) return // Acquisition du salon de logs const logsChannel = ban.guild.channels....
module.exports = { development: { port: process.env.PORT || 3000, dbPath: 'mongodb://localhost:27017/messenger-db' }, production: {} };
import resolve from 'rollup-plugin-node-resolve'; import commonjs from 'rollup-plugin-commonjs'; import json from 'rollup-plugin-json'; import replace from 'rollup-plugin-re'; import builtins from 'rollup-plugin-node-builtins'; import globals from 'rollup-plugin-node-globals'; import babel from 'rollup-plugin-babel'; i...
// Copyright (c) Jupyter Development Team. // Distributed under the terms of the Modified BSD License. import { Signal } from '@lumino/signaling'; /** * A concrete implementation of [[IObservableString]] */ export class ObservableString { /** * Construct a new observable string. */ constructor(initi...