text
stringlengths
2
1.04M
const path = require('path'); const webpack = require('webpack'); const MiniCssExtractPlugin = require('mini-css-extract-plugin'); const CleanWebpackPlugin = require('clean-webpack-plugin'); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); module.exports = { entry: { 'atomD.min': './...
// models-model.js - A mongoose model // // See http://mongoosejs.com/docs/models.html // for more of what you can do here. module.exports = function (app) { const mongooseClient = app.get('mongooseClient'); const { Schema } = mongooseClient; const models = new Schema({ Keys : { type: Array, required: t...
"use strict"; function AppController($mdSidenav) { var self = this; self.selected = null; self.charts = [ { "name": "D3 Bar Chart", } ]; self.selected = self.charts[0]; self.selectChart = selectChart; function selectChart(chart) { self.selected = ang...
import axios from "axios"; export const createOrUpdateUser = async (authtoken) => { return await axios.post( `${process.env.REACT_APP_API}/create-or-update-user`, {}, { headers: { authtoken, }, } ); }; export const currentUser = async (authtoken) => { return await axios.post(...
import { crossAlgorithm } from "../../../objs/algotithms/cross-algorithm.js"; import { basicF2LCornerAlgorithm } from "../../../objs/algotithms/basic-f2l-c-algorithm.js"; import { f2lAlgorithm } from "../../../objs/algotithms/f2l-algorithm.js"; import { ollAlgorithm } from "../../../objs/algotithms/oll-algorithm.js"; i...
export const ADD_INGREDIENT = 'ADD_INGREDIENT'; export const REMOVE_INGREDIENT = 'REMOVE_INGREDIENT'; export const FETCH_INGREDIENTS_START = 'FETCH_INGREDIENTS_START'; export const FETCH_INGREDIENTS_SUCCESS = 'FETCH_INGREDIENTS_SUCCESS'; export const FETCH_INGREDIENTS_FAIL = 'FETCH_INGREDIENTS_FAIL'; export const PURC...
angular.module('templates', []).run(['$templateCache', function ($templateCache) {}]);
const exports = {}; exports.assert = function(condition, opt_message, var_args) { return condition; }; exports.assertNumber = function(value, opt_message, var_args) { return value; }; exports.assertString = function(value, opt_message, var_args) { return value; }; exports.assertFunction = function(value, opt_...
import React from 'react' import { mount } from 'enzyme' import { Provider } from 'react-redux' import Home from '../../containers/HomePage/Home' import { BrowserRouter } from 'react-router-dom' import configureStore from 'redux-mock-store' const mockStore = configureStore() const mockPost = [ { id: 2872, ...
// Variables used to hold objects for use in callback functions var context; var lists; //var list; var listItems; var tileArea; // This code runs when the DOM is ready and creates a context object which is needed // to use the SharePoint object model $(document).ready(function () { context = SP.ClientContex...
import DSA5 from '../system/config-dsa5.js' export default class DSA5StatusEffects { static bindButtons(html) { html.find('.chat-condition').each(function(i, cond) { cond.setAttribute("draggable", true); cond.addEventListener("dragstart", ev => { let dataTransfer = {...
module.exports = function getSeason(date) { if(!date){ return 'Unable to determine the time of year!'; }else if(typeof date === 'object'){ let month = date.getUTCMonth() + 1; if(month >= 1 && month <= 2 || month == 12){ return 'winter' }else if (month >= 3 && month <= 5) { return 'spring...
import { run } from '@ember/runloop'; import Application from '@ember/application'; import { module, test } from 'qunit'; import Resolver from 'ember-resolver/resolver'; import ContainerDebugAdapter from 'ember-resolver/resolvers/classic/container-debug-adapter'; import ContainerDebugAdapterInitializer from 'dummy/init...
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { Col, FormText, Label, CustomInput } from 'reactstrap'; import AvInput from './AvInput'; import AvGroup from './AvGroup'; import AvFeedback from './AvFeedback'; const colSizes = ['xs', 'sm', 'md', 'lg', 'xl']; export default class A...
'use strict' import React, { Component } from 'react'; import { Text,View,ListView,StyleSheet,Image,TouchableHighlight,InteractionManager } from 'react-native'; import ProductDetail from '../page/ProductDetail'; import ProductSearch from '../page/ProductSearch'; var ScreenWidth = require('Dimensions').get('window')...
/* Lens by HTML5 UP html5up.net | @ajlkn Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) */ var main = (function($) { var _ = { /** * Settings. * @var {object} */ settings: { // Preload all images. preload: false, // Slide duration (must match "duration.slide" ...
describe('integration', function () { require('./basic'); require('./extraction'); require('./fileIgnored'); require('./overrides'); });
import React, { Component } from 'react'; import { withRouter } from 'react-router-dom'; import { withFirebase } from '../Firebase'; import 'bootstrap/dist/css/bootstrap.min.css'; import './index.css'; import firebase from 'firebase'; const SchedulePage = () => ( <div id="psignupform"> <h1>Patient Registrati...
/** * @author v.lugovsky * created on 16.12.2015 */
/** * check the mime-type of encoded base64 string. * * @param {string} data - the data encoded * @returns {boolean} */ export function checkMime(data) { const mime = data.match(/data:([a-zA-Z0-9]+\/[a-zA-Z0-9-.+]+).*,.*/); if ((mime && mime.length) && (mime[1] === 'image/png' || mime[1] === 'image/jpeg'...
'use strict' // Template version: 1.3.1 // see http://vuejs-templates.github.io/webpack for documentation. const path = require('path') module.exports = { dev: { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', proxyTable: { '/api': { target: 'http://localhost:8080', ...
import { createStore } from 'vuex'; import { units } from './lib/units'; import { UnitsEnum, DirectionEnum } from './lib/enums'; import { serialize, deserialize } from '@ygoe/msgpack'; function DefaultSettings() { return { units: UnitsEnum.cm, borders: false, bladeKerf: 0.35, crosscutWidth: 3, ...
// seconds since epoch var now = function () { return (+ new Date)/1000; }; var currentInvocation; var RequireInvocation = function (name, filename) { var self = this; self.name = name; // module required self.filename = filename; // file doing the requiring, if known self.timeStarted = now(); self.timeFin...
import React, { useState, useEffect } from 'react' import { useRouteMatch, useHistory } from 'react-router-dom' import dayjs from 'dayjs' import { formInput, formFeedback } from 'utils/formHelpers' import useConfig from 'utils/useConfig' import useRest from 'utils/useRest' import { useStateValue } from 'data/state' c...
var config = {}; //运行方式 command or jsonrpc config.run = 'command'; //etherscan config config.etherscan = {}; //apikey,https://etherscan.io/myapikey config.etherscan.apikey = 'K8AXY1WB3UJRNMFRWKX71RKHBPHC2EK7X4'; module.exports = config;
class App { constructor() { this.cocktails = new Cocktails(); } }
import {expect, assert} from 'chai'; import '../core-hello.js'; //----------Unit Tests ------------------ describe('core-hello Unit Tests', () => { it('Non Spec Language (Default) Inner Text', async () => { // tests the english let hwHTML = `<core-hello id='hw1' lang='en'>Shaya!</core-hello>`; document....
const webpack = require("webpack"); const webpackDevServer = require('webpack-dev-server'); const path = require('path'); var baseConfig = require('../config/webpack.config.dist'); var browser = baseConfig(); browser.output.libraryTarget = "var"; browser.output.filename = "./dist/seng-log.js"; browser.output.path = pa...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import { should } from 'chai'; should(); import * as ActionCreators from './todoActions'; import * as ActionTypes from '../constants/actionTypes'; import VisibilityFilter from '../constants/VisibilityFilter'; describe('todoActions', function() { it('addTodo should create an action to add new todo item', function() ...
import React from 'react'; import ReactHTMLParser from 'react-html-parser'; import Helmet from 'react-helmet'; import Link from 'gatsby-link'; import styles from './blog-post.module.css'; // make it pretty! export default function Template({ data // this prop will be injected by the GraphQL query we'll write in a...
import auth0 from 'auth0-js'; import { navigateTo } from "gatsby-link"; const AUTH0_DOMAIN = 'single-web-page-apps.auth0.com'; const AUTH0_CLIENT_ID = '3HbnOqWZjijn33bOFINGYWHXH80eZ8NT'; export default class Auth { auth0 = new auth0.WebAuth({ domain: AUTH0_DOMAIN, clientID: AUTH0_CLIENT_ID, redirectUr...
import Home from './components/common/Home' import Login from './modules/login/Login' import Logout from './modules/login/Logout' import SignUpPW from './modules/login/SignUpPW' import ResetPW from './modules/login/ResetPW' const routes = [ { path: '/', exact: true, component: Home }, { path: '/login', compo...
jest.setTimeout(30000) const createAdmin = require('../../admin') const createProducer = require('../../producer') const createConsumer = require('../index') const { Types } = require('../../protocol/message/compression') const ISOLATION_LEVEL = require('../../protocol/isolationLevel') const sleep = require('../../uti...
import GameForm from './game-form.component'; export default GameForm;
import React, { Component } from 'react'; class App extends Component { render() { return ( <div className="App"> </div> ); } } export default App;
const { authenticate } = require('@feathersjs/authentication').hooks; const commonHooks = require('feathers-hooks-common'); // const { restrictToOwner } = require('feathers-authentication-hooks'); const { setField } = require('feathers-authentication-hooks'); const { hashPassword } = require('@feathersjs/authentication...
var docMenu = [ { fr_FR : "Présentation", en_US : "Presentation", es_ES : "Presentación", de_DE : "Präsentation", pt_PT : "Apresentação", link : "/#LANG#/presentation/index" },{ fr_FR : "Concepts", en_US : "Concepts", es_ES : "Conceptos", de_DE : "Konzepte", pt_PT : "Conc...
module.exports = { prefix: 'fas', iconName: 'prescription-bottle', icon: [384, 512, [], "f485", "M32 192h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64h120c4.4 0 8 3.6 8 8v16c0 4.4-3.6 8-8 8H32v64c0 17.6 14.4 32 32 32h256c17.6 0 32-14.4 32-32V128H32v64zM360 0H24C10.8 0 0 10.8 ...
var vDOM2ID = { "tTitle":"title", "tTopic":"topic", "tCourse":"course", "tAuthor":"author", "tFirst":"first", "tLast":"last", "tAudioType":"audiotype", "tAudioExt":"audioext", "tImageExt":"imageext", "tFileName":"filename", "tZIPFileName":"zipfilename", "tAudioBaseName":"audiobasename", "tIma...
'use strict'; describe('Questanswers E2E Tests:', function () { describe('Test Questanswers page', function () { it('Should report missing credentials', function () { browser.get('http://localhost:3001/questanswers'); expect(element.all(by.repeater('questanswer in questanswers')).count()).toEqual(0);...
// @flow import browserslist from 'browserslist'; import type { BrowserListConfig } from './rules/compat'; type TargetListItem = { target: string, parsedVersion: number, version: string | 'all' }; /** * Determine the targets based on the browserslist config object * * @param configPath - The file or a direct...
// ideas controller routes var express = require('express'); var router = express.Router(); var fetcher = require('../fetcher') // post /api/ideas/random // salje se /ideame js, znaci /ideame [language] ili samo /ideame router.post('/random',(req,res) => { var tech = req.body.text; var payload = {}; if (!tech) ...
/* Inicialización en español para la extensión 'UI date picker' para jQuery. */ /* Traducido por Vester (xvester@gmail.com). */ ( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define( [ "../widgets/datepicker" ], factory ); } else { // Brows...
/** * TinySelect 灵活的下拉组件 * @作者: hyjiacan * @源码: https://git.oschina.net/hyjiacan/TinySelect.git * @示例: http://hyjiacan.oschina.io/tinyselect * @许可协议: MIT * @依赖: jQuery 1.8.0及更高版本 * @浏览器支持: 不支持IE8及更低版本 * @QQ群: 187786345 (Javascript爱好者) * * @param {Window} win 窗口对象 * @param {jQuery} $ jQuery别名 */ (function (...
/** * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'uploadwidget', 'oc', { abort: 'Mandadís interromput per l\'utilizaire', doneOne: 'Fichièr mandat amb succès.'...
import filter from 'lodash/filter'; import find from 'lodash/find'; import first from 'lodash/first'; import keys from 'lodash/keys'; import partition from 'lodash/partition'; import reduce from 'lodash/reduce'; import some from 'lodash/some'; import { IMAGE_ASSETS } from './images.constants'; export default class Im...
$(document).ready(function() { $('#fullpage').fullpage({ slidesNavigation:true, anchors: ['firstPage', 'secondPage', 'thirdPage', 'fourthPage', 'lastPage'], menu: '#myMenu' }); });
/*! * Module dependencies. */ var STATES = require('./connectionstate') /** * Abstract Collection constructor * * This is the base class that drivers inherit from and implement. * * @param {String} name name of the collection * @param {Connection} conn A MongooseConnection instance * @param {Object} opts opt...
const formatColumns = require("../index.js"); describe("formatColumns", function() { it("separates columns correctly", function() { const formatted = formatColumns([ ["column1", "column2", "column 3"] ]); expect(formatted.trim()).to.equal("column1 column2 column 3"); }); ...
var result; var _tax_Proration_State_Arr = ['23', '10', '36', '39']; var _tax_Proration_State_City_Arr = ['2']; var _tax_Proration_State_Utah_Arr = ['45']; // Utah state var _tax_Proration_State_Oregon_Arr = ['38']; // Oregon state var _michigan_counties_Arr = ['1288', '1312', '1311', '1276', '1293', '1280', '1239', '1...
import React from 'react'; import PropTypes from 'prop-types'; import useStyles from '../styles'; export default function Code({ value }) { const classes = useStyles(); return <pre className={classes.code}><code>{value}</code></pre>; } Code.propTypes = { value: PropTypes.string, };
// See http://brunch.io for documentation. module.exports = { npm: { globals: { riot: 'riot', route: 'riot-route', ajax: '@fdaciuk/ajax' } }, files: { javascripts: {joinTo: 'app.js'}, stylesheets: {joinTo: 'app.css'} }, plugins: { on: ['riot'], riot: { pattern: ...
mycallback( {"CONTRIBUTOR OCCUPATION": "Banker", "CONTRIBUTION AMOUNT (F3L Bundled)": "250.00", "ELECTION CODE": "", "MEMO CODE": "", "CONTRIBUTOR EMPLOYER": "Southside Bank", "DONOR CANDIDATE STATE": "", "CONTRIBUTOR STREET 1": "3835 Lazy Creek Dr", "CONTRIBUTOR MIDDLE NAME": "", "DONOR CANDIDATE FEC ID": "", "DONOR C...
/** * jQuery wizard v0.4.3 * https://github.com/amazingSurge/jquery-wizard * * Copyright (c) amazingSurge * Released under the LGPL-3.0 license */ (function (global, factory) { if (typeof define === "function" && define.amd) { define(['jquery'], factory); } else if (typeof exports !== "undefined")...
import Card from '../UI/Card'; import ExpenseDate from './ExpenseDate'; import './ExpenseItem.css'; const ExpenseItem = function ({ title, date, amount }) { return ( <li> <Card className="expense-item"> <ExpenseDate date={date} /> <div className="expense-item__description"> <h2>{t...
import { createElement } from 'lwc'; import ExampleWrapper from 'c/exampleWrapper'; describe('c-example-wrapper', () => { afterEach(() => { // The jsdom instance is shared across test cases in a single file so reset the DOM while (document.body.firstChild) { document.body.removeChild(do...
pbjsChunk([82],{46:function(e,n,t){e.exports=t(47)},47:function(e,n,t){"use strict";var r=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},a=t(4),o=t(0),d=t(3),i=t(2),s=t(5),u=function(){var e=["http://us-ea...
import React from 'react'; import Plot from 'react-plotly.js'; class Stock extends React.Component { constructor(props) { super(props); this.state = { stockChartXValues: [], stockChartYValues: [] } } componentDidMount() { this.fetchStock(); } ...
var _i_i_rfilter_pt_by_pt_8c = [ [ "IIR_2ndOrderSignalFilteringPtByPt", "group___i_i_rfilter_pt_by_pt_gac4abd6664e9f907ee9a9a7dc9bb9f72a.html#gac4abd6664e9f907ee9a9a7dc9bb9f72a", null ], [ "IIR_2ndOrderSignalFilteringPtByPtInitialize", "group___i_i_rfilter_pt_by_pt_gaf289af032ed0838cac25efd5cc1ea639.html#gaf289...
/** * @version : 17.8.0 - Bridge.NET * @author : Object.NET, Inc. http://bridge.net/ * @copyright : Copyright 2008-2019 Object.NET, Inc. http://object.net/ * @license : See license.txt and https://github.com/bridgedotnet/Bridge/blob/master/LICENSE.md */ var $m = Bridge.setMetadata, $n = [System...
/** * Actions for Redux * * @author flatline */ import Constants from './Constants'; export const Actions = { config: value => ({type: Constants.CONFIG, value}), code : value => ({type: Constants.CODE, value}), line : value => ({type: Constants.LINE, value}) };
var c=Math,d=c.random,f=[],i,j,k,m,n,q,s,t,u,v,w,fa=false,tr=true,y=80;a=document.body.children.c;a.width=256;a.height=512;b=a.getContext("2d");g=128;h=400;for(e=0;e<3;e++)f[e]={x:d()*186,y:170*e};r=x=p=o=aa=0;a.onclick=function(z){if(!w){r=tr;s=g;t=h;l=z.clientX-s;m=z.clientY-t;v=u=c.atan2(m,l)*57.32;u>-170&&u<-10&&(w...
consts: function() { __i18nMsg__('My i18n block #1', [], {}, {}) __i18nMsg__('My i18n block #2', [], {}, {}) __i18nMsg__('My i18n block #3', [], {}, {}) return [ $i18n_0$, $i18n_1$, $i18n_2$ ]; }, template: function MyComponent_Template(rf, ctx) { if (rf & 1) { $r3$.ɵɵelementStart(0, "div");...
import React from "react"; import styled from "styled-components"; import Container from "../../../container"; import {Heading} from "../../../atoms/typography/heading"; import {Paragraph} from "../../../atoms/typography/paragraph"; import TextBlockWithImage from "../../../molecules/mixed-blocks/text-block-with-absolu...
import iView from 'iview'; import axios from 'axios'; import qs from 'qs'; import Cookies from 'js-cookie'; import { router } from '../router/index'; import env from '../../build/env'; const baseUrl = env === 'development' ? '/api' : env === 'production' ? '' : ''; const axiosInstance = axios.create({ baseURL:...
// 相关配置信息 export const config = { name: '图片', pid: 'h5ds_img', // 插件id,不可重复。建议 用户名 mantou_test 来定义 version: '1.0.0' };
/** * @license * Copyright (c) 2014, 2021, Oracle and/or its affiliates. * Licensed under The Universal Permissive License (UPL), Version 1.0 * as shown at https://oss.oracle.com/licenses/upl/ * @ignore */ define(["ojs/ojcore-base","ojs/ojdatasource-common","ojs/ojlogger"],function(t,e,r){"use strict";t=t&&Object...
const { Array1 } = require("./exports/Array1.js") const { String1 } = require("./exports/String1.js") module.exports = { Array1, String1 }
if (this.importScripts) { importScripts('testharness-helpers.js'); importScripts('observer-actions.js'); } window=this; var isWorker = window.document === undefined; // This runs two tests with the given body function, one where the database // changes happen in the same frame, and another where the changes happe...
$(document).ready(function($) { let issuesPolice = { end_gerry : true, vote_by_mail: false, reval_writers : false, reth_reg : false, limit_lob : false, modern_election : false, rank_candidate: false, tune_in_texas : false, clean_up : false, ban_barriers: false }; $("html, body").animate({ scro...
"use strict"; /** * Orbit controls can be used to navigate the world using a imaginary central point as reference. * * The camera orbits around that central point always looking towards it, and the distance to the point can be changes. * * @class EditorOrbitControls * @extends {EditorControls} */ function Edito...
/* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.plugins.setLang("widget","sl",{move:"Kliknite in povlecite, da premaknete"});
var PrepareTool = (function () { var _prepareForMap = function () { if (typeof window.loadImageSrc === "undefined") { /*! for e2e->run test in browser */ window.loadImageSrc = function (imageSrc) { return new Promise(function (resolve, reject) { va...
/* global define, require */ import Seriously from "../build/seriously.module"; 'use strict'; /* Math references: en.wikipedia.org/wiki/Color_balance http://scien.stanford.edu/pages/labsite/2010/psych221/projects/2010/JasonSu/adaptation.html https://github.com/ikaros-project/ikaros/blob/master/Source/Modules/VisionMo...
// 系统设置的路由配置 /** When your routing table is too long, you can split it into small modules**/ import Layout from '@/views/layout/Layout' const configRouter = { path: '/config', component: Layout, redirect: 'noredirect', name: '系统设置', meta: { title: '系统设置', icon: 'nested' }, children: [ { ...
/// BareSpecifier=@polymer/paper-styles/paper-styles /** @license Copyright (c) 2015 The Polymer Project Authors. All rights reserved. This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt The...
import React, { useRef, useEffect } from 'react'; import { useSelector, useDispatch } from 'react-redux'; import cx from 'classnames'; import ReactGA from 'react-ga'; import ReactMarkdown from 'react-markdown'; import { t } from '../../../utils/i18n'; import actions from '../../../store/actions'; import { GetNotificat...
'use strict'; Object.defineProperty(Object.prototype, 'toPage', { configurable: true, enumerable: false, writable: true, value: function (pageSize) { return this.reduce((prev, curr, i) => { const idx = Math.floor(i / pageSize); const page = prev[idx] || (prev[idx] = []); page.push(curr); ...
const Config = require('config'); const Boom = require('@hapi/boom'); const Handlebars = require('handlebars'); const Nunjucks = require('nunjucks'); const CatboxRedis = require('@hapi/catbox-redis'); const plugins = [ { plugin: require('@hapi/yar'), options: Config.get('yar') }, { plugin: require('@hapi/cru...
/* * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH * under one or more contributor license agreements. See the NOTICE file * distributed with this work for additional information regarding copyright * ownership. Camunda licenses this file to you under the Apache License, * Version 2.0; y...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["notices-notices-module"],{ /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/office/notices/notices.page.html": /*!****************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.j...
var searchData= [ ['isconnected',['isConnected',['../class_wifi_module.html#a0f9b83f8ed9714183df33e055323261f',1,'WifiModule']]], ['isdatetimevalid',['isDateTimeValid',['../class_clock_module.html#a05053d7409ef43d1729113a7912fa866',1,'ClockModule']]] ];
/* * /MathJax/localization/ast/HelpDialog.js * * Copyright (c) 2009-2018 The MathJax Consortium * * 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/li...
export default from './useMedia'
/** * @license Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved. * For licensing, see https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.editorConfig = function (config) { // Define changes to default configuration here. For example: // config.language = 'fr'; // confi...
const backgroundType = { HORIZONTAL: "horizontal", VERTICAL: "vertical", }; const Quadrilateral = require("../shapes/quadrilateral.js"); class Background { constructor(p1, p2, p3, p4, limit, bType, color) { this.p1 = p1; this.p2 = p2; this.p3 = p3; this.p4 = p4; this.limit = limit; this....
import React from "react" import Layout from "../components/layout"; const About = () => { return ( <Layout> <h1>About...</h1> </Layout> ); } export default About;
"use strict";var _callApiAndParseWithTimeout=_interopRequireDefault(require("./callApiAndParseWithTimeout"));exports.__esModule=/* force = */!0,exports.default=void 0;exports.default=_callApiAndParseWithTimeout.default;function _interopRequireDefault(a){return a&&a.__esModule?a:{default:a}}
/*jslint browser: true, evil: true */ // define correct path for files inclusion var scripts = document.getElementsByTagName('script'), path = scripts[scripts.length - 1].src.split('?')[0], tarteaucitronForceCDN = (tarteaucitronForceCDN === undefined) ? '' : tarteaucitronForceCDN, cdn = (tarteaucitronForce...
/* eslint-env mocha */ /* global expect, testContext */ /* eslint-disable prefer-arrow-callback, no-unused-expressions */ import url from 'url' import getAvatarImageURL from 'src/common/util/getAvatarImageURL' // TODO: use nock to mock gravatar API describe(testContext(__filename), function () { it('returns throws ...
const Discord = require("discord.js"); module.exports = { name: "activity", cooldown: 2, permissions: ["SEND_MESSAGES"], description: "user activity", async execute(client, message, args, Discord, cmd){ const user = message.mentions.users.first() || message.author; const member = mes...
(function() { 'use strict'; angular .module('resumeApp') .controller('JhiMetricsMonitoringController', JhiMetricsMonitoringController); JhiMetricsMonitoringController.$inject = ['$scope','JhiMetricsService', '$uibModal']; function JhiMetricsMonitoringController ($scope, JhiMetricsServ...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { getCurrentProfile, deleteAccount } from '../../actions/profileActions'; import Spinner from '../common/Spinner'; import ProfileActions from './ProfileAct...
import React from 'react'; import PropTypes from 'prop-types'; import { ThemeProvider } from 'styled-components'; import theme from './theme'; const Wrapper = ({ children }) => ( <ThemeProvider theme={theme}>{children}</ThemeProvider> ); Wrapper.propTypes = { children: PropTypes.node.isRequired, }; export defau...
$(function(){ //console.log('hola desde cont materiales.'); //--------------------------------------------------------- //variable para el objeto del formulario var objt_f_material = {}; //variable de accion del boton del formulario var action = ""; //variable para el id del registro var id_material = ""; ...
import React from 'react'; // Using "Stateless Functional Components" export default function (props) { //console.log("Ps", props); return ( <div className="row itemHolder"> {props.userList.map((item, i) => { return ( <div key={i} className="col s12 m4 l3...
let a = 'a'; let b = 'b'; let c = 'c'; [a, b, c] = [b, c, a]; console.log(a, b, c);
/*! * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html * v4.0.13 - 2015-04-21 *
import { FETCH_PERSONAL_TOPIC_LIST, SET_TOPIC_FAVORITE } from '../../actions/topicActions'; import { createAsyncReducer } from '../../lib/reduxHelpers'; import { addUsefulDetailsToTopic } from './selected/info'; export const addUsefulDetailsToTopicsList = topics => topics.map(t => addUsefulDetailsToTopic(t)); /** * ...