text
stringlengths
2
1.04M
/* * Copyright 2012-2014 the original author or authors * @license MIT, see LICENSE.txt for details * * @author Scott Andrews */ (function (buster, define) { 'use strict'; var assert, refute, fail, failOnThrow; assert = buster.assertions.assert; refute = buster.assertions.refute; fail = buster.assertions.f...
import React, { Fragment, Component } from 'react' import { Link } from 'react-router-dom' import PropTypes from 'prop-types' import { Row, Col, Button, Modal, ModalBody, ModalFooter, ModalHeader } from 'reactstrap' import moment from 'moment' import FontAwesomeIcon from '@fortawesome/react-fontawesome' ...
import React, {useContext} from 'react' //import { Link } from "react-router-dom" import AuthOptions from "../../auth/AuthOptions"; import Navbar from 'react-bootstrap/Navbar'; import Nav from 'react-bootstrap/Nav'; //import NavDropdown from 'react-bootstrap/NavDropdown'; import UserContext from "../../../context/UserC...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. /** * @fileoverview A single gnubby signer wraps the process of opening a gnubby, * signing each challenge in an array of challenges until a success con...
const needle = require('needle') const WPUser = (site) => new Promise((resolve, reject) => { const name = [] const description =[] const link = [] const user = [] const url = site+'/wp-json/wp/v2/users/' needle(url, (err, resp, body) => { if (!err) { for (let i = 0; i < body...
module.exports = class extends think.Controller { async __before() { // 根据token值获取用户id this.ctx.state.token = this.ctx.header['x-molilearn-token'] || ''; const tokenSerivce = think.service('token', 'api'); this.ctx.state.userId = await tokenSerivce.getUserId(this.ctx.state.token); const publicCon...
import ScrollPanel from 'ember-table-legacy/views/scroll-panel'; export default ScrollPanel;
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sliceDefault = void 0; function sliceDefault(arrStr, start, end) { var rest = []; for (var _i = 3; _i < arguments.length; _i++) { rest[_i - 3] = arguments[_i]; } if (start !== undefined) { if (end !== un...
import React,{Component} from 'react'; import "./Navbar.css" class Navbar extends Component { render() { return( <nav className="navbar navbar-expand-lg navbar-light bg-light"> <a className="navbar-brand" href="/"><h3>Clicky Game</h3></a> <button className="nav...
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(d...
import { TMonad } from './t-monad.js' import { ToDigits } from './to-digits.js' import { ToPhone } from './to-phone.js' export function ToIntlPhone(value) { let result = TMonad(value) if (result.stop) { return result } const parts = result.value.split(' ') const countryCode = parts[0].indexOf('+') > ...
import React from "react"; const dom = (eq) => ({ type: "math", subtype: "symbol", children: [{ text: "\u0396 " }], }); const Element = (attributes, children) => { return ( <span contentEditable="false" className="int-symbol" {...attributes}> {children} </span> ); }; const icon = (attributes, ...
'use strict'; var adapter = require('./Chengnuo.js'); var promisesAplusTests = require("promises-aplus-tests"); promisesAplusTests(adapter, function(err) { // All done; output is in the console. Or check `err` for number of failures. console.log(err); });
const express = require('express'); const bodyParser = require('body-parser'); const cors = require('cors'); const accountSid = 'AC3e6e920841fa73c28d3e30a508f01669'; const authToken = '0715e24b6f1e34095fc735ceae80d84b'; const client = require('twilio')(accountSid, authToken); let app = express(); const port = process...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. import * as Common from '../common/common.js'; import * as SDK from '../sdk/sdk.js'; // eslint-disable-line no-unused-vars import * as UI from '../ui/ui....
"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 React from 'react' const DEFAULT_SIZE = 24 export default ({ fill = 'currentColor', width = DEFAULT_SIZE, height = DEFAULT_SIZE, style = {}, ...props }) => ( <svg viewBox={ `0 0 ${ DEFAULT_SIZE } ${ DEFAULT_SIZE }` } style={{ fill, width, height, ...style }} { ...props } > <path d...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Unscored = void 0; var _react = _interopRequireDefault(require("react")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _extends() { _extends = Object.assign || function ...
import React from 'react'; import { View, Text } from 'react-native'; import PropTypes from 'prop-types'; import { formatLastMessage, formatMessageCount } from './utils'; import styles from './styles'; import { CustomIcon } from '../../lib/Icons'; import { THREAD } from './constants'; import { themes } from '../../con...
import React from 'react'; import IconButton from '@material-ui/core/IconButton'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@ma...
'use strict'; var _interopRequireDefault = require('@babel/runtime/helpers/interopRequireDefault'); var _typeof = require('@babel/runtime/helpers/typeof'); Object.defineProperty(exports, '__esModule', { value: true }); exports['default'] = void 0; var _extends2 = _interopRequireDefault( require('@babel/runtime/...
import React, { Fragment, useEffect } from "react"; import PropTypes from "prop-types"; import { connect } from "react-redux"; import Spinner from "../layout/Spinner"; import ProfileItem from "./ProfileItem"; import { getProfiles } from "../../actions/profile"; const Profiles = ({ getProfiles, profile: { profiles, loa...
/* Copyright (c) 2004-2006, The Dojo Foundation All Rights Reserved. Licensed under the Academic Free License version 2.1 or above OR the modified BSD license. For more information on Dojo licensing, see: http://dojotoolkit.org/community/licensing.shtml */ dojo.provide("dojo.lang.assert"); dojo.require("dojo....
function Neod3Renderer() { var styleContents = "node {\ diameter: '40px';\ color: #DFE1E3;\ border-color: #D4D6D7;\ border-width: 2px;\ text-color-internal: #000000;\ text-color-external: #000000;\ caption: '{name}';\ font-size...
/** * Copyright (c) 2017-present, Facebook, Inc. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @noformat */ 'use strict'; const fs = require('fs'); const path = require('path'); if (module.parent) { module.exports = testDepe...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.groupBy = exports.findAndExtract = exports.compactMap = exports.isNotNullOrUndefined = void 0; function isNotNullOrUndefined(value) { return value !== null && typeof value !== 'undefined'; } exports.isNotNullOrUndefined = isNotNull...
const { test } = require("tap"); const sandbox = require("@log4js-node/sandboxed-module"); const realFS = require("fs"); const modulePath = "some/path/to/mylog4js.json"; const pathsChecked = []; let fakeFS = {}; let dependencies; let fileRead; test("log4js configure", batch => { batch.beforeEach(done => { file...
/************************************************************* * * MathJax/localization/mk/HelpDialog.js * * Copyright (c) 2009-2017 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...
(function($) { $.fn.textfill = function() { //maxFontSize = parseInt(maxFontSize, 10); return this.each(function(){ var ourText = $('span', this), parent = ourText.parent(), maxWidth = parent.width() + 5, fontSize = parseInt(ourText.css('fo...
const mix = require('laravel-mix'); /* |-------------------------------------------------------------------------- | Mix Asset Management |-------------------------------------------------------------------------- | | Mix provides a clean, fluent API for defining some Webpack build steps | for your Laravel appli...
var sys = require("sys"); exports.parse = function(options) { var stream = new exports.Stream(options); var promise = new process.Promise(); var parts = {}; stream.addListener('part', function(part) { var name = part.headers['content-disposition'].name; var buffer = ''; part.addListener('body', f...
import * as React from "react" import { Link } from "gatsby" import { StaticImage } from "gatsby-plugin-image" import Layout from "../components/layout" import Seo from "../components/seo" const IndexPage = () => ( <div> lorem <Link to="page-2">page2</Link> </div> ) export default IndexPage
function determinarModa(lista) { const listCount = {}; //se utilizo map para crear un nuevo array con la condicion establecidas para la funcion anonima // que define que si el elemento se encuenta en listCount se suma 1 y si no el valor se //establece como 1. lista.map(function (elemento) { if (listCoun...
'use strict'; var Store = require('../../lib/store'); module.exports = { get: [ function (req, reply) { reply(Store.get(req.params.id)); }, function handler(req, reply) { reply(req.pre.p1); } ], delete: function (req, reply) { Store.delete(re...
// React import React from "react"; // React Router Dom import { useNavigate } from "react-router-dom"; // App Components import SearchIcon from "./SearchIcon"; /** * Search Form Component * @param {object} props * @returns - Returns Search Form */ const SearchForm = ({ onSearch }) => { // Ref on the search inpu...
myApp.controller('comingSoonCtrl', function($scope, $location, $timeout, initService) { $location.url("/comingSoon"); $timeout(function () { initService.initCountDown(); }, 100); });
class FilterViewModel { static convert = (filter) => { const viewModel = Object.create(filter); const { __v, ...rest } = JSON.parse(JSON.stringify(viewModel)); return rest; } } module.exports.FilterViewModel = FilterViewModel;
// import React from 'react'; // import { // renderIntoDocument, // findRenderedDOMComponentWithClass, // findRenderedDOMComponentWithTag, // Simulate // } from 'react-addons-test-utils'; import { expect } from 'chai'; describe('Pager', function () { it('should do paging things', function () { // TODO: t...
function speech() { console.log('speech has started'); window.SpeechRecognition =window.SpeechRecognition || window.webkitSpeechRecognition; const recognition =new SpeechRecognition; recognition.interimResults =true; var display = document.querySelector('.white-o'); let firstp=document.querySelector('p') let...
/*! For license information please see framework-ecbe3e6056e934504f4e.js.LICENSE.txt */ //# sourceMappingURL=framework-ecbe3e6056e934504f4e.js.map
const Discord = require('discord.js') module.exports.run = async (client, message, args) => { const embed = new Discord.MessageEmbed() .setTitle("Nex") .addField("Nosso site",`[Clique aqui}(https://nexlist.glitch.me/bots)`,true) message.channel.send(embed) } exports.conf = { enabled: true, guildOnly: fa...
import React, { useState, useEffect } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { newClients, lastMonthClients } from '../../../../actions'; import { Card, CardBody, Col } from 'reactstrap'; import { Bar } from 'react-chartjs-2'; const getState = (x, y) => ({ labels: ['L...
'use strict'; var LIBRARY = require('./_library') , $export = require('./_export') , redefine = require('./_redefine') , hide = require('./_hide') , has = require('./_has') , Iterators = require('./_iterators') , $iterCreate = require('./_iter-create') , se...
print('demo2.js'); let shark = 'badger';
module.exports = { verbose: true, testURL: 'http://localhost/', setupFiles: ['<rootDir>/src/__tests__/setup.js'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], transformIgnorePatterns: [], testRegex: '.*/__tests__/.*\.(test|spec)\.(jsx?|tsx?)$', };
"use strict"; exports.__esModule = true; var mPromise = /** @class */ (function () { function mPromise(executor) { var _this = this; this.status = "PENDING" /* PENDING */; this.value = null; this.reason = null; this.onFulfilledCallbacks = []; this.onRejectedCallbacks ...
const S = require('fluent-schema') const bodyJsonSchema = S.object().prop( 'email', S.string().format(S.FORMATS.EMAIL).required() ) exports.getTokenSchema = { tags: ['User'], summary: 'Get a users token', body: bodyJsonSchema }
'use strict'; var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; function _objectWithoutProperties(obj, keys) {...
/** * @author alteredq / http://alteredqualia.com/ */ THREE.SceneUtils = { createMultiMaterialObject: function ( geometry, materials ) { var group = new THREE.Group(); for ( var i = 0, l = materials.length; i < l; i ++ ) { group.add( new THREE.Mesh( geometry, materials[ i ] ) ); } retur...
function ScrollToContent() { document.getElementById("content").style.visibility = "visible"; $("#content").fadeIn(300); $('html, body').animate({ scrollTop: ($('#content').offset().top-70) }, 'slow'); } $(document).ready( function() { $('#nav > li > a').click(function(){ ...
servers['Route'].augment({ assets: { styles: [ require.resolve('../assets/css/reset.css'), require.resolve('../assets/css/style.css'), require.resolve('../assets/css/controls.css'), require.resolve('../assets/css/codemirror.css'), require.resolve('...
// https://github.com/michael-ciniawsky/postcss-load-config module.exports = { parser: 'sugarss', map: 'inline', plugins: { // to edit target browsers: use 'browserlist' field in package.json // 'autoprefixer': {}, 'postcss-salad': { browsers: [ '> 1%', 'last 5 versions', ...
document.write(unescape("%3Cspan id='_ideConac' %3E%3C/span%3E"));var span_msg=document.getElementById("_ideConac");span_msg.innerHTML='<a href="//bszs.conac.cn/sitename?method=show&id=0B021F0099012141E053012819AC9CF3" target="_blank"><img id="imgConac" vspace="0" hspace="0" border="0" src="//dcs.conac.cn/image/blue.pn...
import React from 'react'; import { mount } from 'enzyme'; import { BodyQueryFormModal, HeaderQueryFormModal } from '../../../components/Modal/QueryFormModal'; const accountIDs = [ { name: 'WigiBoards', id: 2710112 } ]; describe('<QueryFormModal/>', () => { it('Render body', () => { const results...
/* eslint-disable react/jsx-sort-props */ /** * @flow */ import React from 'react'; import PropDefaultSource from './examples/PropDefaultSource'; import PropDraggable from './examples/PropDraggable'; import PropOnError from './examples/PropOnError'; import PropOnLoad from './examples/PropOnLoad'; import PropOnLoadE...
'use strict'; var webcamApp = angular.module('webcamApp', ['ngResource', 'ui.router']) .filter('file_dtstamp', function(){ return function(filename){ var dtstring = (filename.split('.')[0]).split('_')[1]; var dtstamp = new Date(dtstring.slice(0, 4), parseInt(dtstring.slice(4, 6)) -1, dtstring.slic...
import React from 'react'; import {shallow} from 'enzyme'; import SubList from '../components/SubList'; let subSelectFn, wrapper; beforeEach(() => { subSelectFn = jest.fn(); wrapper = shallow(<SubList onSubSelect={subSelectFn}/>); }); afterEach(() => { subSelectFn.mockReset(); }); it('should render a list of sub...
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/API/make-phone-call/make-phone-call"],{459: /*!***********************************************************************************************************************************!*\ !*** /Users/xueqingchen/Documents/5-uni/5-uni-xiao/5-uni-xiao/main.js?...
import { getColor, getRangeColor } from 'components/range-row/shared/styles' import {transitionTimes} from 'styles/animations' import {themeColors} from 'styles/colors' /*-------------* * ROW HELPERS * *-------------*/ const getBackgroundColor = (props, hover = false) => { let color if (hover) { color =...
/* eslint-disable no-console */ import express from 'express'; import path from 'path'; import bodyParser from 'body-parser'; import open from 'open'; import { chalkProcessing } from '../utilities/chalkConfig'; const application = express(); application.use(bodyParser.urlencoded({ extended: true })); application.use(b...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Block representing current value of the in-game clock. Access value using * the accessor block in the values category. */ import * as Blockly from "blockly/core"; import "blockly/javascript"; import types from "../utils/types"; const clockJSON = { type:...
const getFile = path => { const siteUrl = `${window.location.protocol}//${window.location.host}`; if (path) { return `${siteUrl}/api/getFile?path=${path}`; } return false; }; export { getFile };
const writeResponseHead = (responseObject, statusCode, headerContent) => { responseObject.writeHead(statusCode, headerContent); return responseObject; } const writeData = (data) => { responseObject.write(data); } const sendResponse = (responseObject) => { responseObject = writeResponseHead(responseOb...
import React, { useState, useEffect, useLayoutEffect, useCallback } from 'react' // self use hook test const useResize = () => { const [size, setSize] = useState({ width: document.documentElement.clientWidth, height: document.documentElement.clientHeight, }) const handleResize = useCallbac...
/* -*- Mode: Javascript; indent-tabs-mode:nil; js-indent-level: 2 -*- */ /* vim: set ts=2 et sw=2 tw=80: */ /************************************************************* * * MathJax/extensions/TeX/mhchem.js * * Implements the \ce command for handling chemical formulas * from the mhchem LaTeX package. * ...
/** * Copyright 2018 Telerik AD * ...
/*========================================================================================= File Name: tooltip.js Description: Tooltips are an updated version, which don’t rely on images, use CSS3 for animations, and data-attributes for local title storage. ------------------------------------------------------...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const AbstractInlineTokenizer_1 = __importDefault(require("./AbstractInlineTokenizer")); class Strikethr...
import { PointsMaterial, TextureLoader, VertexColors } from '../Three'; function ExtendedPointsMaterial ( ctx ) { PointsMaterial.call( this ); const colourCache = ctx.materials.colourCache; this.map = new TextureLoader().load( ctx.cfg.value( 'home', '' ) + 'images/disc.png' ); this.color = colourCache.white; t...
/** * Checks if `value` is object-like. A value is object-like if it's not `null` * and has a `typeof` result of "object". * * @since 4.0.0 * @category Lang * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is object-like, else `false`. * @example * * isObjectLike({}) * //...
import _ from 'lodash' import { RouterModel, syncHistoryWithStore } from 'mst-react-router' import { createBrowserHistory } from 'history' import localforage from 'localforage' import { sampleGridFileInfos, sampleApplianceFiles, ancillaryEquipmentList, } from '../utils/fileInfo' // Import Other Stores: import { ...
module.exports = { 'title': 'Title', 'first-name': 'First name', 'last-name': 'Last name', 'dob-day': 'Date of birth (day)', 'dob-month': 'Date of birth (month)', 'dob-year': 'Date of birth (year)', 'escort-name': 'Name', 'escort-address': 'Address', 'escort-postcode': 'Postcode', 'escort-NIN': 'Nat...
'use strict'; angular.module('myApp.todo', ['ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/todo', { templateUrl: 'todo/todo.html', controller: 'TodoCtrl' }); }]) .controller('TodoCtrl', ['$scope',function($scope) { $scope.todos = []; $scope.tod...
/* eslint-disable global-require */ const merge = require('webpack-merge'); const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const path = require('path'); const cssnano = require('cssnano'); const baseConf = require('./webpack.base'); const projectRoot = process.cwd(); const prodConf = { ...
/* eslint-disable import/no-webpack-loader-syntax, import/no-unresolved */ import belgium from 'file-loader!./countries/belgium.geojson'; import brazil from 'file-loader!./countries/brazil.geojson'; import bulgaria from 'file-loader!./countries/bulgaria.geojson'; import canada from 'file-loader!./countries/canada.geojs...
import fs from 'fs' if(!process.env.CONFIG_FILE) throw 'Please specify config file'; let config = JSON.parse(fs.readFileSync(process.env.CONFIG_FILE).toString()); process.env.REQUESTS_CONTRACT_ADDR = config.contractAddress.request; process.env.DIRECTORY_CONTRACT_ADDR = config.contractAddress.directory; process.env.RP...
/*! jQuery UI - v1.11.4 - 2015-07-29 * http://jqueryui.com * Includes: core.js, widget.js, mouse.js, position.js, draggable.js, resizable.js, button.js, dialog.js, effect.js, effect-blind.js, effect-fade.js * Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
import React from 'react' export default function Testimonial2() { return ( <section className="text-gray-600 body-font"> <div className="container px-5 py-24 mx-auto"> <div className="xl:w-1/2 lg:w-3/4 w-full mx-auto text-center"> <svg xmlns="http://www.w3.o...
import fs from 'fs'; import vm from 'vm'; import Promise from 'bluebird'; import _ from 'underscore'; import log from 'apify-shared/log'; import { checkParamOrThrow } from 'apify-client/build/utils'; import { checkParamPrototypeOrThrow } from 'apify-shared/utilities'; import { RequestQueue, RequestQueueLocal } from './...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Card_1 = require("./Card"); class SimpleCard extends Card_1.Card { constructor(simpleCard) { super('Simple'); if (simpleCard) { Object.assign(this, simpleCard); } } /** * Sets title of...
var class_xen_foro___data_writer___follower = [ [ "_getDefaultOptions", "df/dc8/class_xen_foro___data_writer___follower.html#afd24bfd81a1649e3373db956f63d5ed8", null ], [ "_getExistingData", "df/dc8/class_xen_foro___data_writer___follower.html#a0b13133231366d06747b0074fce93e4b", null ], [ "_getFields", "df/...
/*========================================================================================= File Name: app-user-list.js Description: User List page -------------------------------------------------------------------------------------- Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template ...
import { ObjectID } from 'mongodb'; import url from 'url'; import AssertService from '../assets/assets'; import settings from '../../lib/settings'; import { db } from '../../lib/mongo'; import utils from '../../lib/utils'; import parse from '../../lib/parse'; import CategoriesService from './productCategories'; import ...
import React, { useState } from 'react' import htm from 'htm' const html = htm.bind(React.createElement) import styled from 'styled-components' // This component is not used, but is designed to replace the Google Form implementation export const Container = styled.div` max-width: 35rem; margin: 0 auto; background:...
// Copyright 2012 The Emscripten Authors. All rights reserved. // Emscripten is available under two separate licenses, the MIT license and the // University of Illinois/NCSA Open Source License. Both these licenses can be // found in the LICENSE file. /*global LibraryManager, mergeInto*/ /*global Module, asm*/ /*gl...
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[67],{ /***/ "./node_modules/@ionic/core/dist/esm/ion-tab-bar_2-ios.entry.js": /*!**********************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm/ion-tab-bar_2-ios.entry.js ***! \***********************...
const { sentiData } = require('senti-apicore') class InstUserUI extends sentiData { uuid = null startDate = null endDate = null user = {} instUUID = null constructor(data = null, vars = null) { super() this.assignData(data, vars) } } module.exports = InstUserUI
require("babel-register"); require("./server.js")
import React from 'react' import styled from 'styled-components' const Footer = styled.footer` height: 3.5rem; width: 100%; font-weight: 600; font-size: 0.75rem; line-height: 1.25rem; color: rgb(104, 99, 107); background-color: rgb(229, 229, 229); display: flex; flex-direction: column; justify-con...
const fetch = require('node-fetch') let handler = async (m, { conn, args, usedPrefix, command }) => { if (!args[0]) throw `Example:\n${usedPrefix + command} ani._.rudh_s` let res = await fetch(`https://fxc7-api.herokuapp.com/api/stalk/ig?apikey=pnj8NAJb&username=${args}`) if (!res.ok) throw await res.text() l...
import IpLoadBalancerDashboardHeaderCtrl from '../header/iplb-dashboard-header.controller'; import IpLoadBalancerZoneAddCtrl from './iplb-zone-add.controller'; import IpLoadBalancerZoneDeleteCtrl from './iplb-zone-delete.controller'; import IpLoadBalancerZoneAddService from './iplb-zone-add.service'; import IpLoadBalan...
const devCerts = require("office-addin-dev-certs"); const { CleanWebpackPlugin } = require("clean-webpack-plugin"); const CopyWebpackPlugin = require("copy-webpack-plugin"); const ExtractTextPlugin = require('extract-text-webpack-plugin'); const HtmlWebpackPlugin = require("html-webpack-plugin"); const webpack = requir...
import { useMutation } from '@redwoodjs/web' import { toast } from '@redwoodjs/web/toast' import { navigate, routes } from '@redwoodjs/router' import ExpenseForm from 'src/components/ExpenseForm' export const QUERY = gql` query FIND_EXPENSE_BY_ID($id: Int!) { expense: expense(id: $id) { id amount ...
/// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the /// "Use Terms"). Any redistribution of this code must retain the above /// copyright an...
/** * Copyright (c) 2006-2015, JGraph Ltd * Copyright (c) 2006-2015, Gaudenz Alder */ /** * Class: mxWindow * * Basic window inside a document. * * Examples: * * Creating a simple window. * * (code) * var tb = document.createElement('div'); * var wnd = new mxWindow('Title', tb, 100, 100, 200, 200, true...
const ValidationError = require('../../errors/validation'); module.exports = (router, io, container) => { const middleware = require('../middleware')(container); router.get('/api/game/:gameId/conversations', middleware.authenticate, middleware.loadGameConversationsLean, middleware.loadPlayer, async (req, res...
module.exports = require('./wrapperReverse');
// index.js 'use strict' const { Schema } = require('mongoose') exports = module.exports = { connect: require('./lib/connect'), createGeoSchema: require('./lib/createGeoSchema'), createModel: require('./lib/createModel'), createSchema: require('./lib/createSchema'), findBounded: require('./lib/findBounded'...
const jwt = require("jsonwebtoken"); const Candidate = require("../models/candidate"); const candidateAuth = async (req, res, next) => { try { const token = req.header("Authorization").replace("Bearer ", ""); const decoded = jwt.verify(token, process.env.JWT_SECRET); const candidate = await Candidate.fin...
/* * Copyright (c) 2018, salesforce.com, inc. * All rights reserved. * SPDX-License-Identifier: MIT * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT */ import Table from 'benchmark/tableComponent'; import Row from 'benchmark/tableComponentRow'; import Store fro...