text
stringlengths
3.22k
29.5k
'use strict'; var mReg = require('./register.js'), integrity = require('./integrity.js'); /* * Creating relations example: * * you can describe relation type by arrows or short cuts, its up to you * "-->" = ">--" = "many-to-one" = "belongs-to" * "--<" = "<--" = "one-to-many" = "has-many" * * Child has ke...
import log from './log.js'; import throttle from 'lodash.throttle'; const anonymizeUsername = username => { if (/^player\d{2,7}$/i.test(username)) { return 'player'; } return username; }; class CloudProvider { /** * A cloud data provider which creates and manages a web socket connection ...
'use strict' //MineSweeper: <NAME> const VICTORY = '😎'; const SMILE = '🙂'; const DEAD = '😵'; const MINE = '💣'; const FLAG = '🚩'; const LIFE = '💙'; const WRONG = '❌'; const audioWin = new Audio('sounds/win.mp3'); const audioBomb = new Audio('sounds/bomb.mp3'); const audioWrong = new Audio('sounds/wrong.mp3'); //g...
"use strict"; const { spawn } = require("child_process"); const crypto = require("crypto"); const https = require("https"); const os = require("os"); const path = require("path"); const qs = require("querystring"); const repl = require("repl"); const util = require("util"); const { debug, pkgRegex, readFile, ...
import { cloneDeep, forOwn, isMatch, throttle } from "lodash-es"; import assert from "minimalistic-assert"; import React, { useLayoutEffect } from "react"; import { Responsive, WidthProvider } from "react-grid-layout"; import "react-grid-layout/css/styles.css"; import { connect } from "react-redux"; import "react-resiz...
// Global vars var pymChild = null; var isMobile = false; /* * Initialize graphic */ var onWindowLoaded = function() { if (Modernizr.svg) { formatData(); pymChild = new pym.Child({ renderCallback: render }); } else { pymChild = new pym.Child({}); } pymChi...
/* eslint-env browser, jquery */ /* global moment, serverurl */ import { checkIfAuth, clearLoginState, getLoginState, resetCheckAuth, setloginStateChangeEvent } from './lib/common/login' import { clearDuplicatedHistory, deleteServerHistory, getHistory, getStorageHistory, parseHistory, parseServe...
"use strict"; var f = require('util').format , path = require('path') , exec = require('child_process').exec , spawn = require('child_process').spawn , fs = require('fs') , mkdirp = require('mkdirp') , rimraf = require('rimraf') , Server = require('../../lib/topologies/server'); // // Clone the options ...
var form; var objValidador; var contContenidoWizard = $('#contContenidoWizard').children('div'); var primerItemWizard = contContenidoWizard[0]; primerItemWizard.className += " activo"; var cantidadWizard; for (i = 0; i < contContenidoWizard.length; i++) { cantidadWizard = i; document.getElementById('contBtnWiza...
/* global web3, artifacts, contract, before */ const RadicalFreeholdToken = artifacts.require('RadicalFreeholdToken') const RadicalLeaseholdToken = artifacts.require('RadicalLeaseholdToken') const RadicalManager = artifacts.require('RadicalManager') const BaseRegistrar = artifacts.require('BaseRegistrar') const BaseReg...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/exte...
var renderer = null, scene = null, camera = null, root = null, robot_idle = null, group = null, killed = false; var raycaster; var mouse = new THREE.Vector2(), CLICKED; var floor = null; var loader = null; var tgaLoader = null; var objLoader = null; var robots = []; var robotsIS = null; var spots = []; var animacione...
const puppeteer = require("puppeteer"); const accounts = require("../config/config"); const sleep = require("../function/sleep"); const clipboardy = require("clipboardy"); const self = { broswer: null, page: null, initialize: async () => { self.broswer = await puppeteer.launch({ headless: false, ...
'use strict'; // ////////////////////////////////////////////////////////////////////////////// // / DISCLAIMER // / // / Copyright 2014 triAGENS GmbH, Cologne, Germany // / Copyright 2015 ArangoDB GmbH, Cologne, Germany // / // / Licensed under the Apache License, Version 2.0 (the "License") // / you may not use this...
/* Copyright 2012 Mozilla Foundation * * 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...
import border from "./border.json"; import bitmap from "./bitmap.json"; import schemes from "./schemes.json"; import states from "./states.json"; var raf; var is_paused; var loading_status = document.querySelector(".loading-status"); var loading_pct; loading_pct = 0; var Settings = { bitmap: { width: 160, heigh...
const path = require('path') const fs = require('fs') const fse = require('fs-extra') const { promisify } = require('util') const { getCssChunksRegExp, getCssHrefRegExp, getScriptRegExp, getV2ScriptRegExp, getV3ScriptRegExp, getMiniCssMapRegExp, } = require('./regexp') const { isDir, isFile, isType } = requ...
/* * (c) Copyright IBM Corp. 2021 * (c) Copyright Instana Inc. and contributors 2020 */ 'use strict'; const path = require('path'); const pkg = require(path.join(__dirname, '/../package.json')); const os = require('os'); const Utils = require('./utils').Utils; const ProfileRecorder = require('./profile_recorder')....
///////////////////// // Project JS // ///////////////////// 'use strict'; var $ = require('jquery'); var bootbox = require('bootbox'); var Raven = require('raven-js'); var m = require('mithril'); var ko = require('knockout'); var LogFeed = require('js/components/logFeed.js'); var $osf = require('js/osfHelpers'...
/** * @desc * The angular-markdown-editor is a third party directive to manipulate markdown in textarea. * The source can be found at: https://github.com/ghiscoding/angular-markdown-editor * The directive can be used as an attribute tag. * <textarea name="editor1" class="content-box" * ng-model="editor1" * m...
var uuid = require('node-uuid'); var fs = require('fs'); var xmlBuilder = require('xmlBuilder'); var globby = require('globby'); var path = require('path'); var mkdirp = require('mkdirp'); var httpreq = require('httpreq'); var unzip = require('unzip'); var spawnSync = require('child_process').spawnSync; function pick(...
// species = Array con las especies seleccionadas. var species = [1, 2, 3, 6, 8, 10, 34, 20]; var i = 0; // bucle para la selección de toda la información for (i = 0; i < species.length; i++) { var imagesRute = "https://starwars-visualguide.com/assets/img/species/" + species[i] + ".jpg"; peticionAjax...
import React, {lazy, Suspense, useEffect, useState} from 'react'; import {BrowserRouter, Route, Switch} from "react-router-dom"; import axios from "axios"; import {toast} from "react-toastify"; import Cookies from "js-cookie"; import tinycolor from "tinycolor2"; import ErrorView from "views/errors/error-view"; import ...
// Trims whitespace in each string from an array of strings function trimSpacesInEachElement(arr) { return arr.map(function(x) { return x.trim(); }); } // Returns a copy of the given array with empty/undefined string elements removed in between function removeEmptyElements(arr) { return arr.filter(function(x) { re...
import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { compose } from 'redux'; import GeoJSON from 'ol/format/GeoJSON'; import qs from 'query-string'; import OLMap from 'ol/Map'; import RSPermalink from 'react-spatial/components/Permalink'; impo...
import React from 'react'; import Tree, { TreeNode } from 'rc-tree'; import 'rc-tree/assets/index.css'; import _ from 'lodash'; import immutable from 'object-path-immutable' import 'bootstrap/dist/css/bootstrap.css' import PieChart from 'react-minimal-pie-chart'; require('isomorphic-fetch'); require('es6-promise').poly...
var upOptions = { running: false }; var current = localStorage.getItem(document.location.host) || localStorage.getItem('current') || 'gelbooru'; var engine = $("engine"); var ReaderOutput = []; engine.onchange = function () { current = this.value; $('current').textContent = current; }; engine.selectedInde...
import React, { Component } from 'react'; import { connect } from 'react-redux'; import { withStyles,makeStyles } from '@material-ui/core/styles'; import IconButton from '@material-ui/core/IconButton'; import Typography from '@material-ui/core/Typography'; import { fade } from '@material-ui/core/styles/colorManipulator...
import 'ol/ol.css'; import { Map, View } from 'ol'; import TileLayer from 'ol/layer/Tile' import VectorLayer from 'ol/layer/Vector' import OSM from 'ol/source/OSM'; import Point from 'ol/geom/Point'; import LineString from 'ol/geom/LineString'; import Select from 'ol/interaction/Select'; import Feature from 'ol/Feature...
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { ret...
import React from 'react'; import { ResponsiveContainer, AreaChart, Area, YAxis, XAxis, Tooltip, CartesianGrid, Legend, LineChart, Line } from 'recharts'; import { makeStyles } from '@material-ui/core/styles'; import { Typography } from '@material-ui/core'; import { Grid } from '@material-ui/core'; import { Ant...
import React from "react"; import { Typeahead, Menu, MenuItem } from "react-bootstrap-typeahead"; import axios from "axios"; import { MultiSelect } from '../components/MultiSelect'; import ProjectAutocomplete from "../util/ProjectAutocomplete"; import SearchResults from "./SearchResults"; import UserAutocomplete from ...
/** ========================================================================= ** TELA DE LOGIN ** ========================================================================*/ const container = document.getElementById('container'); const menuFooter = document.querySelector('.menuFooter'); // Comando para ocultar o fundo...
import React, { Component } from 'react'; import { connect } from 'dva'; import moment from 'moment'; import { Link } from 'dva/router'; import { Row, Col, Form, Input, Table, Button, DatePicker,Card } from 'antd'; import TimeSelection from '@/components/TimeSelection'; import commonStyle from '../../global.less'; //...
/** * Created by chris on 3/5/15. */ var isLive = false; var seshid = null; var countingDown = false; var initialWait = 4000; var betweenShoots = 3000; var imageCount; var previewing = false; var previewingGIFS = false; var previewURLS = {}; var printCopies = 1; $(document).ready(function() { $('#print-button')....
import legend from './legend'; import {MAP_STATISTICS, MAP_TYPES} from '../constants'; import {formatNumber} from '../utils/commonfunctions'; import * as d3 from 'd3'; import React, {useCallback, useEffect, useRef, useState} from 'react'; import * as Icon from 'react-feather'; import * as topojson from 'topojson'; c...
import axios from 'axios' import qs from 'qs' import Cookies from 'js-cookie' export const postExportExcelFunc = function (data, url, exportName = '导出') { // console.log(data); axios({ // 用axios发送post请求 method: 'post', url: url, // 请求地址 data: data, // 参数 responseType: 'blob', //...
import React, { Component } from 'react' import PropTypes from 'prop-types' import { logError } from './helpers/Logger' import { makeAccount } from './actions/AccountActions' import { CreditCardForm, PlaidForm, AchForm, } from './index' import { ButtonGroup } from './ButtonGroup' import { Instrument } from '....
/*jslint browser: true, nomen: false, debug: true, forin: true, undef: true, white: false, onevar: false */ var sc, sch, SpazCacheStorageAdapters; /** * a simple key/val store. keys are strings, vals are strings. Objects are converted to JSON before insertion * * Stores are kept in memory. They are saved to f...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DmgTarget = undefined; var _bluebirdLst; function _load_bluebirdLst() { return _bluebirdLst = require("bluebird-lst"); } var _builderUtil; function _load_builderUtil() { return _builderUtil = require("builder-util"); }...
// jshint esversion: 6 /* rc slider https://www.npmjs.com/package/rc-slider */ import React from "react"; import _ from "lodash"; import fuzzysort from "fuzzysort"; import { connect } from "react-redux"; import { MenuItem, Button, FormGroup, InputGroup, ControlGroup } from "@blueprintjs/core"; import { Sugg...
var width = 1100, height = 640, scale0 = (width - 1) / 2 / Math.PI, active = d3.select(null); var format = d3.format(","); var margin = {top: 0, right: 0, bottom: 0, left: 0}, width = 960 - margin.left - margin.right, height = 500 - margin.top - margin.bottom; var projection = d3.geo...
;!function (win) { var Admin = function () { }; Admin.prototype.paginate = function (count, curr, limit, limits) { layui.laypage.render({ elem: 'page', count: count, curr: curr, limit: limit, limits: limits ? limits : [10, 20, 50, 100, 200, 500, 1000, 2000], layout: ['li...
import {mount} from 'enzyme' import {mountToJson} from 'enzyme-to-json' import React from 'react' import {Provider} from 'react-redux' import configureStore from 'redux-mock-store' import thunkMiddleware from 'redux-thunk' import {TextEncoder} from 'util' import {constructor as XorShift} from 'xorshift' import {respon...
"use strict"; /******************************************************************************** * Copyright (C) 2018 TypeFox and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl...
import React, { Component } from 'react'; import ColHeader from './Header/ColHeader'; import Row from './Row'; import ColFooter from "./Footer/ColFooter"; import RowFooter from "./Footer/RowFooter"; import './Puzzle.css'; const samples = { helicopter: { rows: [[3,3],[1],[2,5],[1,3,3],[6,2],[7,1],[8],[6],[1...
import React, { useEffect, useState } from "react"; import styles from "./Consumption.module.css"; import { useParams } from "react-router-dom"; import axios from "axios"; import { ResponsiveLine } from "@nivo/line"; import { useHistory } from "react-router-dom"; import moment from "moment"; const Consumption = () => ...
var recaptcha_callback; var recaptcha_error_callback; function start() { "use strict"; var prevStatus = ""; var auto_open = false; function StatusChanger() { var prevStatus = null; this.set = function(element, status) { if (prevStatus === status) return false; if (prevStatus) { element.classL...
$(function () { $("#jqGrid").jqGrid({ url: baseURL + 'sys/coursechapter/list', datatype: "json", colModel: [ { label: 'id',hidden: true, name: 'id', index: 'id', width: 50, key: true }, { label: '章节编号', name: 'chapterNo', index: 'chapter_no', width: 80 }, { labe...
import { WFS } from "ol/format"; import { Style, Stroke, Fill, Circle, RegularShape, Icon } from "ol/style"; import { MultiPoint, Polygon } from "ol/geom"; import Feature from "ol/Feature"; import Vector from "ol/layer/Vector"; import VectorSource from "ol/source/Vector"; import { all as strategyAll } from "ol/loadings...
var Remote, Amount, moment, remote; if (typeof require != 'undefined') { /* Loading with Node.js */ var Remote = require('stellar-lib').Remote, Amount = require('stellar-lib').Amount, moment = require('moment'), gateways = require('./gateways.json'); } else if (stellar && moment) { /* Loadin...
// Separated Module that uses IIFE and Closure var budgetController = (function () { var data; var Expense = function (id, desc, val) { this.id = id; this.description = desc; this.value = val; this.percentage = -1 }; Expense.prototype.calcPercentage = function (totalIncome) { if (totalIncome > 0) this.pe...
/* Sklik connector for Google Data Studio Copyright (C) 2018 Seznam.cz, a.s. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later v...
var shiftTypeList; var employees; var shifts; Reveal.addEventListener( 'slidechanged', function() { var indices = Reveal.getIndices(); console.log( "Slide changed: "+indices.f); if( !( indices.f === undefined)) if( indices.f >= -1) plotChart(shifts, indices.f +1); } ); Reveal.addEventListener...
import tippy from 'tippy.js'; import 'tippy.js/dist/tippy.css'; import 'tippy.js/themes/light-border.css'; import axios from 'axios'; import './tooltip.css'; import { getItemLink, getTextUpToStringPattern, objectAttributeToggler, stripHtmlTags, truncateText, mergeObjects, } from './utils.js'; i...
const { existsSync: exists } = require("fs"); const path = require("path"); const Profile = require("../profile/profile"); const puppeteer = require("puppeteer"); const fpuppeteer = require("puppeteer-firefox"); const foxr = require("foxr").default; const BrowserPuppeteer = require("../puppeteer"); const AtricaServer =...
const express = require('express'); const https = require('https'); const http = require('http'); const fs = require('fs'); const path = require('path'); const bodyParser = require('body-parser'); const securityAudit = require('./components/SecurityAudit'); const user = require('./routes/User'); const aiModel = require...
Payment.prototype.constructor = Payment; Payment.ENV_MODE = ""; Payment.TEST_MODE = true; Payment.PAYMENT_CLIENT_APP_CODE = ""; Payment.PAYMENT_CLIENT_APP_KEY = ""; Payment.IS_CHECKOUT = false; Payment.MERCHANT_ID = 500028; Payment.KOUNT_ENVIRONMENT = ""; Payment.KOUN_TEST_ENVIRONMENT = "https://tst.kaptcha.com/"; Pa...
import card from './Character_Venti_Card.jpg' import thumb from './Character_Venti_Thumb.png' import c1 from './Constellation_Splitting_Gales.png' import c2 from './Constellation_Breeze_of_Reminiscence.png' import c3 from './Constellation_Ode_to_Thousand_Winds.png' import c4 from './Constellation_Hurricane_of_Freedom.p...
const path = require(`path`); const slash = require(`slash`); const { paginate } = require("gatsby-awesome-pagination"); exports.createResolvers = ({ createResolvers }) => { const resolvers = { wordpress__POST: { tags: { resolve(source, args, context, info) { const { tags } = source; ...
/* Copyright (c) 2017, <NAME>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
/* Makes backend API call to rasa chatbot and display output to chatbot frontend */ function init(botLogoPath) { //---------------------------- Including Jquery ------------------------------ var script = document.createElement('script'); script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/j...
const Backbone = require('backbone'); const _ = require('underscore'); const ImportsModel = require('builder/data/background-importer/imports-model'); const UploadModel = require('dashboard/data/upload-model'); const PermissionModel = require('dashboard/data/permission-model'); const VisualizationModel = require('dashb...
"use strict"; /** * Copyright 2018 Adobe. All rights reserved. * This file is licensed to you 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 r...
/* Objeto do tipo Produto */ function Produto(_codigo, _foto, _nome, _descricao, _preco, _peso, _quantidade) { this.codigo = _codigo; this.foto = _foto; this.nome = _nome; this.descricao = _descricao; this.preco = _preco; this.peso = _peso; this.quantidade = _quantidade; } var produtosName = ["Obama: An Inti...
import { __extends } from "tslib"; import * as util from '../core/util'; import { devicePixelRatio } from '../config'; import Eventful from '../core/Eventful'; import { getCanvasGradient } from './helper'; import { createCanvasPattern } from './graphic'; import BoundingRect from '../core/BoundingRect'; import { REDRAW_...
import React, { Component } from 'react'; import L from 'leaflet'; import {Map, Marker, Popup, TileLayer, Polyline} from 'react-leaflet'; import RMarker from './RMarker'; var smallVehicleIcon = L.icon({ iconUrl: "img/car_above.png", iconSize: [16, 32], iconAnchor: [8, 16] }); var midVehicleIcon = L.icon({ icon...
import d3 from "d3"; import d3CloudLayout from "./d3.layout.cloud"; var d3Cloud = {}; var width = 1100; var height = 600; // var margin = {left: 100, right: 100, top: 100, bottom: 100}; var color = d3.scale.linear() .domain([10, 15, 20, 25, 30, 40, 50, 55, 60, 80, 90, 95, 97, 98, 99, 150]) .range((['#041d4c', '#...
/* * The MIT License (MIT) * * Copyright (c) 2014 Broad Institute * * 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 rights * to u...
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.drawerProps = exports.default = void 0; var _vue = require("vue"); var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helper...
'use strict'; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { t...
import featureinfotemplates from './featureinfotemplates'; import replacer from './utils/replacer'; import isUrl from './utils/isurl'; import geom from './geom'; import Feature from 'ol/Feature'; import Point from 'ol/geom/Point'; function createUrl(prefix, suffix, url) { const p = prefix || ''; const s = suffix |...
/* An analogClock js plug that written by native javascript (jQuery is not required but also campatiable). Writtern by kenlam0083 Base on MIT License */ function AnalogClockOption(width, foreColor, bgColor) { this.foreColor = foreColor ? foreColor : "#000"; this.bgColor = bgColor ? bgColor : "#eee"; this.width = ...
import {Handler} from '../Emitter'; import {objUtil} from './objUtil'; import {Observable} from './Observable'; import {bounce} from './bounce'; //===BEGIN=== const ObjectObserver = (() => { const disconnected = Symbol('disconnected'); const disconnect = Symbol('disconnect'); const listen = Symbol('listen'); c...
// Copyright (c) 2014 International Aid Transparency Initiative (IATI) // Licensed under the MIT license whose full text can be found at http://opensource.org/licenses/MIT var view_publishers=exports; exports.name="view_publishers"; var csvw=require("./csvw.js") var ctrack=require("./ctrack.js") var plate=require("...
const textElement = document.getElementById("pose"); const webcamElement = document.getElementById('webcam'); const canvasElement = document.getElementById('canvas'); const canvasCtx = canvasElement.getContext("2d"); const canvasElement1 = document.getElementById('canvas1'); const ctx = canvasElement1.getContext("2d")...
"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)...
import React from 'react'; import { Observable } from 'rxjs'; import { getInstance } from 'd2/lib/d2'; import mapPropsStream from 'recompose/mapPropsStream'; import { identity, noop, compose } from 'lodash/fp'; import FormBuilder from 'd2-ui/lib/forms/FormBuilder.component'; import FormFieldsForModel from '../forms/...
// A personality quiz // This is an array of objects that stores the personality trait that is prompted to the user and the weight for each prompt. // If a personality trait is considered more introverted, it will have a negative weight. // If a personlity trait is considered more extroverted, it will have a posi...
import { config, median, multihashFromHex } from './../../utils'; import { validateTransaction } from './../transaction.js'; import { TransactionError } from './../errors.js'; import { DAGBlock, validate } from './dagblock'; import createDAGNode from './dagnode'; import { encode, decode } from 'bs58'; import { GENESISB...
import * as React from 'react' import Linkify from 'react-linkify' import initials from 'initials' import moment from 'moment-timezone' import { get } from 'lodash' function Check() { return ( <svg width="100%" height="100%" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M5 13...
/** * Mux Runner Pebble client. * Pure REST/XHR */ var Settings = require('settings'); // See https://pebble.github.io/pebblejs/#settings var UI = require('ui'); // var Vector2 = require('vector2'); var resturl = Settings.option('resturl'); var units = Settings.option('units'); // One of 'ms', 'mph', 'kmh', 'kts'....
/*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *---------------------------------------------------------------...
import React, { Component } from 'react'; import { Link } from 'react-router-dom'; import mixpanel from 'mixpanel-browser'; class StaffSingle extends Component { constructor(props) { super(props); this.state = { department:[], location:[], visible: false, trackedApply: false, lo...
'use strict' const debug = require('debug')('medley') const http = require('http') const Hooks = require('./lib/Hooks') const RouteContext = require('./lib/RouteContext') const Router = require('@medley/router') const runOnCloseHandlers = require('./lib/utils/runOnCloseHandlers') const runOnLoadHandlers = require('....
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isWord = exports.wait = exports.byteSlice = exports.activate = void 0; const coc_nvim_1 = require("coc.nvim"); const pairs = new Map(); pairs.set('{', '}'); pairs.set('[', ']'); pairs.set('(', ')'); pairs.set('<', '>'); pairs.set('"', ...
/* * Copyright 2021 Lightbend Inc. * * 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 ...
/** * Developer: <NAME> * Date: 8/21/2014 * Copyright: 2009-2016 Comindware® * All Rights Reserved * Published under the MIT license */ "use strict"; import 'lib'; import LocalizationService from '../services/LocalizationService'; let timeoutCache = {}; let queueCache = {}; let getPlur...
$(document).ready(function(){ //--------Used later for some functions var typedict = { 'sb' : 'salt bridge', "pc" : 'pi-cation', "ps" : 'pi-stacking', 'ts' : 't-stacking', "vdw" : 'van <NAME>', 'hp' : 'hydrophobic', 'hb' : 'hydrogen bond', "hbbb" : 'backbone to backbone HB', "h...
"use strict"; var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); exports.__esModule = true; exports.default = void 0; var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/exte...
/*jshint node:true */ "use strict"; var esprima = require('esprima-fb'); // --- // we expose the flags so other tools can tweak the values (#8) exports.BYPASS_RECURSION = { root : true, comments : true, tokens : true, loc : true, range : true, parent : true, next : true, prev : t...
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(gene...
var assert = require('chai').assert; let tempConverter = require('../lib/tempConverter'); let volConverter = require('../lib/volConverter'); describe('Unit Conversion Testing', function() { describe('Celsius to Fahrenheit Conversion Testing', function() { it('should return 32 Fahrenheit for 0 Celsius', functio...
import React, {useEffect, useState} from 'react'; import RepoList from './repositories'; export default props => { const [details, setDetails] = useState({}); useEffect(() => { axios.get('/profile/'+props.selected.login).then(res => { setDetails(res.data); }).catch(() => { props.onClose(); }); }, []); ...
/* global utility */ var materialDesign = new MaterialDesign(); function MaterialDesign() { // Vars var self = this; var dialogMdc; var snackbarMdc; var mdcTextFields; // Properties self.getDialogMdc = function() { return dialogMdc; }; self.getSnack...
const Food = require("../models/food"); const Comment = require("../models/comment"); const Rating = require("../models/rating"); const mbxGeocoding = require("@mapbox/mapbox-sdk/services/geocoding"); const mapBoxToken = process.env.MAPBOX_TOKEN; const geocoder = mbxGeocoding({ accessToken: mapBoxToken }); const ...
import {t} from '@lingui/macro' import {Trans, Plural} from '@lingui/react' import {ActionLink} from 'components/ui/DbLink' import {getDataBy} from 'data' import ACTIONS from 'data/ACTIONS' import STATUSES from 'data/STATUSES' import Module from 'parser/core/Module' import {SEVERITY, TieredSuggestion} from 'parser/core...
import React, { Suspense } from "react"; import _ from "lodash"; import { Button, Card, Collapse, EditableText, Elevation, FormGroup, H1, H4, H5, HTMLSelect, HTMLTable, Icon, MenuItem, Switch, Tooltip, } from "@blueprintjs/core"; import styles from "./settings-view.module.css"; import { u...
// Copyright (c) 2021, <NAME> and contributors // For license information, please see license.txt frappe.ui.form.on('Emissao de Autorizacao Especial de Transito', { onload(frm) { //Retorna doc de informacoes da Configuracao do Grupo de Item var argumentos_retorno_doc = { doctype: 'Configuracoes de Licenca de T...
const CONSTANTS = require('../../constants'); const MOCK_TFM_DEAL_AIN_SUBMITTED = { _id: '61f94a2427c1a7009cde1b9d', dealSnapshot: { _id: { $oid: '61f94a2427c1a7009cde1b9d' }, additionalRefName: null, bank: { companiesHouseNo: 'UKEF0001', emails: [ '<EMAIL>', '<EMAIL>', ...