text
stringlengths
3.22k
29.5k
/* * Copyright 2019, GeoSolutions Sas. * 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. */ import * as Rx from 'rxjs'; import { LOCATION_CHANGE } from 'connected-react-router'; import {get, head, isNaN, inclu...
'use strict' var r = require('./'); var chai = require('chai'), assert = chai.assert; describe('recoo', function() { it('new()', function() { assert.equal(new r().regex, ''); assert.equal(new r({}).regex, ''); assert.equal(new r(123).regex, ''); assert.equal(new r('123').regex, '123'); assert.e...
alert("first add some songs for better expirence"); // SELECTING ELEMENTS. let ripple_buttons = document.querySelectorAll(".ripple"), nav_links = document.querySelectorAll("nav ul li"), closeButton = document.querySelector(".closeButton"), navigation = document.querySelector(".navigation"), pagination ...
const { series, parallel, src, dest } = require('gulp'); const os = require('os') const path = require('path') const util = require('util') const fs = require('fs') const tmp = require('tmp') const git = require('isomorphic-git') const http = require('isomorphic-git/http/node') const del = require('del') const elmMake ...
//Notes: // Src: http://bl.ocks.org/mbostock/1093130 //Notes: // * Each dom element is using // children to store refs to expanded children // _children to store refs to collapsed children //* It's using both a tree and a graph layout. //root var g = {}; var startMode = new (function () { function _e() { re...
import React from "react" import ufo from "../images/ufo.png" import fallingStar from "../images/comet.png" import comet from "../images/bigComet.png" let mouse = { x: undefined, y: undefined, } class DragUfo { constructor(ctx, image) { ctx.drawImage( image, mouse.x - image.width / 12, mou...
// Display the alert message $('.alert').alert() // Utility functions for hiding and showing UI elements based on user selection function showClassTestPostBody() { $('.classtestpostbodyinput').attr('required', true); $('#classtestpostbody').attr('required', true); let classtestpostbody = $('.classtestpostb...
import { getDecimalSeparator } from '../utils/getDecimalSeparator'; import { getThousandsSeparator } from '../utils/getThousandsSeparator'; import { Type } from './enum/Type'; import { applyFilters } from './../filter'; import { forin } from '../utils/forin'; import { isString } from '../utils/isString'; import { creat...
var extend = require('extend'); var UInt160 = require('./uint160').UInt160; var utils = require('./utils'); var Float = require('./ieee754').Float; // // Currency support // var Currency = extend(function() { // Internal form: 0 = VRP. 255 = VBC. 3 letter-code. // XXX Internal should be 0 or hex with three let...
import { Sections } from '../../../components/collective-page/_constants'; import mockRecaptcha from '../mocks/recaptcha'; import { disableSmoothScroll } from '../support/helpers'; const scrollToSection = section => { // Wait for collective page to load before disabling smooth scroll cy.get('[data-cy=collective-p...
// these are the items i was talking about. // it's just one array with all the items. // the space between them is just for explanation purposes. // dont worry about the index by it for now. // i'll be using it to explain the code below const list_items = [ "Item 1", //INDEX 0 the slice function takes item with inde...
import { util } from '../util/util'; /** * This module provides support methods to the parsing classes. */ /** * Returns the first element of the given node which nodeName matches the given name. * @param {Node} node - The node to use to find a match. * @param {String} name - The name to look for. * @return {...
'use strict'; window.liveBookmarks = {}; var extension = window.liveBookmarks; extension.key = 'live-bookmarks'; extension.bookmarkFields = ['id', 'name', 'url', 'site']; /** * Setup reflux actions */ extension.LiveBookmarkActions = Reflux.createActions([ 'reloadFeed', // Fired when a bookmark ne...
// Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** * @name: S15.9.3.1_A2_T5; * @section: 15.9.3.1; * @assertion: The [[Prototype]] property of the newly constructed object * is set to the original Date prototype object, the one t...
import Chart from 'chart.js'; import $ from 'jquery'; import setting from '../utilities/Setting'; /* * Number formatter so we can display the goal as a number with commas. */ const numberWithCommas = function(num) { return num.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ','); }; /* * Calculates the number of day...
/************************************************************************ * Copyright 2010-2015 <NAME>. * * 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.o...
var RSVP = require('rsvp') var mapSeries = require('promise-map-series') var apiCompat = require('./api_compat') var heimdall = require('heimdalljs'); var SilentError = require('silent-error'); exports.Builder = Builder function Builder (tree) { this.tree = tree this.allTreesRead = [] // across all builds this._...
import React from 'react'; /** * assuming the first word matches; check the rest of the words in the phrase * * @param {Array} text Array of words * @param {Int} idx The index of the start of the phrase * @param {Array} wordsInPhrase Array of words in the phrase we're matching * * @return {Boolean} True ...
"use strict"; var Player = function(world, Bullet, audio) { this.world = world; this.audio = audio; this.idleLeftAnimation = new SpriteAnimation("connor/connorL", 2, 1, 32); this.idleRightAnimation = new SpriteAnimation("connor/connorR", 2, 1, 32); this.walkLeftAnimation = new SpriteAnimation("connor/conno...
// white var whiteKing = {code: "&#9812;", name: "whiteKing"}; var whiteQueen = {code: "&#9813;", name: "whiteQueen"}; var whiteRock = {code: "&#9814;", name: "whiteRock"}; var whiteBishop = {code: "&#9815;", name: "whiteBishop"}; var whiteKnight = {code: "&#9816;", name: "whiteKnight"}; var whitePawn = {code: "...
import TransformHelper from './TransformHelper'; import Shape from './Shape'; import Layers from './Layers'; import Utils from './Utils'; class Canvas { constructor(canvas) { this.element = canvas; this.bounds = this.element.getBoundingClientRect(); this.id = 0; this.drawStart = {}; this.drawEnd ...
// Copyright 2021 The Google Research Authors. // // 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...
moment.locale("id"); $("body").on("keydown", "input, select", function (e) { if (e.which === 13) { var self = $(this), form = self.parents("form:eq(0)"), focusable, next; focusable = form.find("input").filter(":visible"); next = focusable.eq(focusable.ind...
'use strict'; var Utils = require('./utils.js').Utils; var Service, Characteristic; Number.prototype.pad = function (len) { return (new Array(len+1).join("0") + this).slice(-len); } module.exports = { Accessory: Accessory } function Accessory(params) { this.accessoryDef = params.accessoryDef; this.l...
'use strict'; const assert = require('assert'); const util = require('util'); const fs = require('fs'); const spawn = require('child_process').spawn; const _ = require('lodash'); const csv = require('csv-stream'); const moment = require('moment'); const sqlite3 = require('sqlite3').verbose(); cons...
// Extends EditorUi to update I/O action states based on availability of backend var wsMxgraph = null; var foreController = "";//上一个演示者 var Controller = "";//目前的演示者 var MxGraphList = ""; var LogicalScene = ""; var GraphUi = null; var waitingList = []; var graph; (function () { var editorUiInit = EditorUi.prototype....
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
import {updateResults} from '../ui'; import * as form from '../form'; import * as api from '../api' import * as content from "../content"; import * as warnings from "../warnings"; import {pluralize} from "../utils"; const table = $('#persons'); export const limitSelect = $('#limit'); limitSelect.selectpicker(); cons...
import pathData from 'ids-identity/dist/theme-new/icons/standard/path-data.json'; import { attributes, customElement, IdsElement, mix, scss } from '../../core'; // Import Utils import { IdsStringUtils } from '../../utils'; // Import Mixins import { IdsEventsMixin, IdsLocaleMixin } from '../../mixins'; ...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("va...
// Imports the Google Cloud client library. const {Storage} = require('@google-cloud/storage'); const watch = require('node-watch'); const cron = require('node-cron'); const fs = require('fs-extra'); const directoryExists = require('directory-exists'); const mkdir = require('mkdirp'); // Instantiates a client. If you ...
"use strict"; function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "sym...
'use strict'; const path = require('path'); const _ = require('lodash'); const BbPromise = require('bluebird'); const Nlp = require('./Nlp'); const ResponseBuilder = require('./ResponseBuilder'); const AliasesModel = require('../../models/Aliases'); const slack = require('../../config/slack'); class PluginManager { ...
"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; ...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.init = exports.installDefaultTemplate = exports.ESLINT_IGNORE = exports.ESLINT_CONFIG = exports.addDependencies = exports.addScripts = void 0; /** * Copyright 2017 Google Inc. All Rights Reserved. * * Licensed under the Apache Licen...
const fetch = require('node-fetch') const moment = require('moment') const axios = require("axios") const translatte = require("translatte") const striptags = require('striptags'); function curlyRemover(chat) { if (chat !== undefined) { let sr = /{(.*?)}/g; let ket = chat.toString().replace(sr, '')...
import { Environment as env } from '../../utils/environment'; import * as debug from '../../utils/debug'; import { utils } from '../../utils/utils'; import { Locale } from '../locale/locale'; // Component Name const COMPONENT_NAME = 'trackdirty'; // Default Trackdirty Options const TRACKDIRTY_DEFAULTS = { }; /** * T...
$(document).ready(function() { $('.category__inner').on('click', function() { // $('.category__list').slideToggle(500); $(this).next().fadeToggle(); }); /*MarkBook*/ let CategoryElemMark = document.querySelectorAll('li.category__elem__mark'); let listElemMark = []; let boolCateg...
importScripts('js/kuromoji.js/kuromoji.js'); var user_replace = {}; var do_user_replace_message = false; self.addEventListener('message', (msg) => { var data = msg.data; if(data.message == 'user_replace') { } if(data.message == 'parse') { user_replace = data.user_replace; do_user_replac...
/** * Copyright (c) 2016, salesforce.com, inc. * All rights reserved. * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or * https://opensource.org/licenses/BSD-3-Clause */ /** * ./index.js * * Main module to start the express server (web process). To ju...
'use strict'; const net = require('net'); const tls = require('tls'); const Connection = require('./connection'); const MongoError = require('../error').MongoError; const MongoNetworkError = require('../error').MongoNetworkError; const MongoNetworkTimeoutError = require('../error').MongoNetworkTimeoutError; const defau...
const dockerConfig = require('../config/config.docker'); const configCommand = require('../config/config.command'); const util = require('util'); let execOption = dockerConfig.execOption, tempData = {}, // 临时数据 commandArg = {}, // 用于当前模块,保存传递过来的arg commandMapBefore = Symbol('commandMapBefore'), //...
/** * @module echarts/chart/helper/Symbol */ import * as zrUtil from 'zrender/src/core/util'; import * as graphic from '../../util/graphic'; import Path from 'zrender/src/graphic/Path'; // ------------------ // -- Whisker Path -- // ------------------ var WhiskerPath = Path.extend({ type: 'whiskerInBox', ...
import React from "react"; import fetch from "isomorphic-fetch"; import { withRouter } from "next/router"; import { parseCookies } from "nookies"; import MainLayout from "components/MainLayout"; import OptionsBar from "components/SearchComponents/OptionsBar"; import FiltersList from "components/SearchComponents/Filte...
var networking = require("./networking"); var logging = require("./logging"); var renders = require("./renders"); var config = require("../config"); var cache = require("./cache"); var skins = require("./skins"); var path = require("path"); var fs = require("fs"); // 0098cb60-fa8e-427c-b299-793cbd302c9a var valid_user...
/** * @fileoverview Responsible for loading config files * @author <NAME> * @copyright 2014 <NAME>. All rights reserved. * @copyright 2013 <NAME>. All rights reserved. */ "use strict"; //------------------------------------------------------------------------------ // Requirements //------------------------------...
var obstacles = []; var enemies = []; var welcomeSound,playSound; //sound constructor function sound(src){ this.sound = document.createElement('audio'); this.sound.src = src; this.sound.setAttribute('preload','auto'); this.sound.setAttribute('controls','none'); this.sound.setAttribute('loop',true); this.sound.sty...
import React, { Component } from 'react' import { Provider } from 'react-redux' import moment from 'moment' import _ from 'lodash' import Rodal from 'rodal' import * as PIXI from 'pixi.js' import PixiSound from 'pixi-sound' import { Header, Login as LoginComponent } from './Components' import { Router, Route } from 'r...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); 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]; } } }...
var margin = {top: 20, right: 1, bottom: 20, left: 1}, width = 1140 - margin.left - margin.right, height = 630 - margin.top - margin.bottom; var formatNumber = d3.format(",.0f"), format = function(d) { return "$" + formatNumber(d); }, color = d3.scale.category10(); var svg = d3.select("#chart").append...
import { getUserFields } from './utils'; import { getKey, compare } from 'pouchdb-selector-core'; import { arrayEquals, arrayToObject, flatten, max, mergeObjects, oneArrayIsStrictSubArrayOfOther, oneArrayIsSubArrayOfOther, oneSetIsSubArrayOfOther, uniq } from './main-utils'; // couchdb lowest collation value var COLLA...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var ReactNative = require('react-native'); var app = require('@firebase/app'); var phone = require('./phone-eec7f987.js'); var tslib = require('tslib'); require('@firebase/util'); require('@firebase/component'); require('@firebase/logger'); ...
var LOCAL_CACHE = new Map() $(document).ready(function (){ var Calendar = require('tui-calendar'); /* CommonJS */ require("tui-calendar/dist/tui-calendar.css"); require("tui-date-picker/dist/tui-date-picker.css"); require("tui-time-picker/dist/tui-time-picker.css"); //フォーム用選択リスト ajax(storeOptions('result'...
const Grow = require('../../dist/Grow.js'); const ascii = require('ascii-codes'); const http = require('http'); const url = require('url'); const raspio = require('raspi-io'); const five = require('johnny-five'); const later = require('later'); const Hs100Api = require('hs100-api'); const _ = require('underscore'); con...
import React, { useState, memo, useEffect, useRef, forwardRef, useImperativeHandle } from 'react' import '../../styles/offline-page.scss'; import { Weeks, Months } from '../../util/consts' import { formatMoney } from '../../util/util'; import SelectItem from './SelectItem' import { createPortal } from 'react-dom' con...
import * as THREE from 'three'; import Fetcher from './Fetcher'; import PointCloudProcessing from '../Process/PointCloudProcessing'; import PotreeBinParser from '../Parser/PotreeBinParser'; import PotreeCinParser from '../Parser/PotreeCinParser'; import Picking from '../Core/Picking'; // Create an A(xis)A(ligned)B(oun...
import { html } from 'htm/preact'; import { useState, useEffect } from 'preact/compat'; import { addPwaUpdateListener } from '../utils/addPwaUpdateListener.js'; import { setFavIcon } from '../utils/setFavIcon.js'; import css from 'csz'; import './pwa-install-button'; import './pwa-update-available'; const styles = css...
/* eslint-disable no-underscore-dangle */ /* eslint-disable indent */ import React from 'react'; import PropTypes from 'prop-types'; import styled from 'styled-components'; import { connect } from 'react-redux'; import { compose } from 'redux'; import { FormattedMessage } from 'react-intl'; import { Flex, Box } from '...
import utils from 'osg/utils'; import BufferArray from 'osg/BufferArray'; import Geometry from 'osg/Geometry'; import primitiveSet from 'osg/primitiveSet'; import DrawElements from 'osg/DrawElements'; import DrawArrays from 'osg/DrawArrays'; import notify from 'osg/notify'; import Graph from 'osgStats/Graph'; // capti...
const User = require("../models/user.model"); const bcrypt = require('bcrypt'); const jwt = require("jsonwebtoken"); //Routes below all have to do with log/reg and authenication. For updating a Users specific portfolio and watch list skip to line 88. //non authenicated controller module.exports.register = (req, re...
import axios from 'axios'; import moment from 'moment'; const getTurkeyData = async () => { const result = await axios(`https://raw.githubusercontent.com/ozanerturk/covid19-turkey-api/master/dataset/timeline.json`); let turkeyData = result.data; let tasks = Object.values(turkeyData); //JSONObject to JSON...
import React, { Component, Fragment } from 'react' import { FormattedMessage, defineMessages, injectIntl } from 'react-intl' import { connect } from 'react-redux' import { Link } from 'react-router-dom' import $ from 'jquery' import { fetchUser } from 'actions/User' import { getEthBalance, getOgnBalance } from ...
/* node-http-proxy.js: http proxy for node.js Copyright (c) 2010 <NAME>, <NAME>, <NAME>, <NAME> 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 ...
import React from "react"; import styled from "styled-components/native"; import { ActivityIndicator, Button, Clipboard, Image, Share, StatusBar, StyleSheet, Text, TouchableOpacity, View, Dimensions, CameraRoll,Alert } from "react-native"; //import { Button } from "../../comp...
export const infoBasic = function(text) { $("#infoBasic").html(text); $('#infoModal').modal('show'); }; export const htmlEncode = function (input) { let converter = document.createElement("DIV"); converter.innerText = input; let output = converter.innerHTML; converter = null; return output;...
/** * graph-node.js * * This module is responsible for creating the GraphNode component and the * associated state management and rendering functions. */ // module dependencies: npm packages import xs from 'xstream'; import sampleCombine from 'xstream/extra/sampleCombine'; import * as math from 'mathjs'; import {...
import React, { useEffect, useState } from 'react'; import Avatar from '@material-ui/core/Avatar'; import Button from '@material-ui/core/Button'; import TextField from '@material-ui/core/TextField'; import Grid from '@material-ui/core/Grid'; import LockOutlinedIcon from '@material-ui/icons/LockOutlined'; import Typogr...
/** * Super FavBook Plus * https://github.com/JasminDreasond/Super-FavBook-Plus * By <NAME> * License : MIT **/ var widgetIframe = document.getElementById('sc-widget'), widget = SC.Widget(widgetIframe); var playyt = false; var pauseyt = false; var ytdata = {} var readyyt = false; var yt_url...
import { Color, Mesh, MeshBasicMaterial, PerspectiveCamera, SphereBufferGeometry, Vector3 } from "three"; import { SpatialControls } from "spatial-controls"; import { calculateVerticalFoV } from "three-demo"; import { ProgressManager } from "../utils/ProgressManager"; import { PostProcessingDemo } from "./PostPr...
/* eslint-env node, mocha */ const chai = require('chai'); const expect = chai.expect; const assert = chai.assert; // require('assert'); const fs = require('fs'); const { BN, Long, bytes, units } = require('@zilliqa-js/util'); const { Zilliqa } = require('@zilliqa-js/zilliqa'); const {toBech32Address, getAddressFromP...
/* * Test that .min() and .max() queries properly handle the edge cases with NaN and Infinity. * Other edge cases are covered by C++ unit tests. */ var t = db.minmax_edge; /* * Function to verify that the results of a query match the expected results. * Results is the cursor toArray, expectedIds is a list of _id...
var token = undefined; var myrowkey = undefined; var reachedEnd = false; var debouncing = false; var shouldShowOwn = false; var hasSubmitted = false; var docheight = 0; var showSubmit = false; var mypostable = undefined; $(document).ready(function () { $('.own_post').hide(); $(document).on("click", "#retrieve...
/** section: github, internal * class ApiGenerator * * Copyright 2012 Cloud9 IDE, Inc. * * This product includes software developed by * Cloud9 IDE, Inc (http://c9.io). * * Author: <NAME> <<EMAIL>> **/ "use strict"; var Fs = require("fs"); var Path = require("path"); var Util = require("./util"); var I...
var shareURL; $(document).ready(function(){ $(".chosen-select").chosen(); $.getJSON("data/shared_items.json", function(data){ for (var food_id in data) { var food = data[food_id]; $("#food").append('<option value="'+ food_id +'" data-food="' + food + '">'+ food + '</option>'); $("#food").tri...
// Copyright Joyent and Node contributors. All rights reserved. MIT license. // deno-lint-ignore-file import { AbortError } from "../errors.js"; import { createDeferredPromise } from "../util.ts"; import { destroyer } from "./destroy.js"; import { isBlob } from "../blob.js"; import { ERR_INVALID_ARG_TYPE, ERR_INVA...
'use strict'; var imgArray = []; var noRepeat = []; var namesByImage = []; var clicksByImage = []; var percentClickedByImage = []; var multipleSurveysTotalClicks = []; var multipleSurveysTotalPercents = []; var totalVotes = 0; var clicked1 = document.getElementById('button1'); var clicked2 = document.ge...
var svg = d3.select("#d3_01_grafico"), margin = { top: 50, right: 30, bottom: 30, left: 80 }, iwidth = +svg.attr( "width" ) - margin.left - margin.right, iheight = +svg.attr( "height" ) - margin.top - margin.bottom, g = svg.append( "g" ).attr( "transform", "translate(" + margin.left + "," + m...
import React from 'react' import PropTypes from 'prop-types' import CodeMirror from 'codemirror' import python from 'codemirror/mode/python/python' // eslint-disable-line no-unused-vars import { Widget } from '@phosphor/widgets' import { Kernel, ServerConnection } from '@jupyterlab/services' import { OutputArea, Output...
import React, { Component, Fragment } from "react"; import PropTypes from "prop-types"; import { Typography, Grid, useMediaQuery } from "@material-ui/core" import { withStyles, useTheme } from "@material-ui/core/styles"; import { withComponents } from "@reactioncommerce/components-context"; import Link from "components...
const config = require('config') const mongoose = require('mongoose') const WalletBalance = mongoose.model('WalletBalance') const RewardClaim = mongoose.model('RewardClaim') const WalletApy = mongoose.model('WalletApy') const { get, join, sortBy, last, keyBy } = require('lodash') const { createContract, web3 } = requir...
import { Create, LocalHospital } from "@mui/icons-material"; import { Alert, Button, Dialog, DialogActions, DialogContent, Snackbar, Typography, } from "@mui/material"; import axios from "axios"; import React, { useContext, useEffect, useState, useCallback } from "react"; import { OFFER_FORM_VALUES } from...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var ProcessBubbleType_1 = require("../../../Enums/ProcessBubbleType"); var Utils_1 = require("../../Utils/Utils"); var HoverMode_1 = require("../../../Enums/Modes/HoverMode"); var ClickMode_1 = require("../../../Enums/Modes/ClickMode"); var Co...
// This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is dis...
import React, { Fragment } from 'react'; import { observer } from 'mobx-react'; import { ListView, InputItem, Checkbox, Icon, SwipeAction, Toast, Modal } from 'antd-mobile'; import { toJS } from 'mobx'; // 全局设置 import { PUBLIC_URL } from '@config'; // 全局公共组件 import { ActionSheet } from '@com'; // 数据 import state from '...
/* global DLMaps, maplibregl, turf */ function capitalizeFirstLetter(string) { return string.charAt(0).toUpperCase() + string.slice(1); } function OrgMapController($layerControlsList, $zoomControls, datasets, organisationId, statisticalGeography) { this.$layerControlsList = $layerControlsList; this.$zoomControls...
// gopherservice.js // $Id: gopherservice.js,v 1.17 2018/03/06 08:28:00 rswindell Exp $ // Synchronet Service for the Gopher Protocol (RFC 1436) // Example configuration (in ctrl/services.ini): // [Gopher] // Port=70 // MaxClients=10 // Options=0 // Command=gopherservice.js load("sbbsdefs.js"); load("nodedefs.js")...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.APNS = undefined; var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol...
const EventEmitter = require('events'); const namida = require('@tum-far/namida/src/namida'); const { RuntimeTopicData } = require('@tum-far/ubii-topic-data'); const { proto } = require('@tum-far/ubii-msg-formats'); const ProcessingModuleProto = proto.ubii.processing.ProcessingModule; const workerpool = require('work...
var __assign = (this && this.__assign) || Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { s = arguments[i]; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; } return t; }; import { ApolloLink, execute, } from 'apo...
import flow from 'lodash/flow' import groupBy from 'lodash/groupBy' import omit from 'lodash/omit' import orderBy from 'lodash/orderBy' import settings from 'electron-settings' import cuid from 'cuid' export default { state: { results: getSavedResults(), pinnedGroupsNotes: settings.get('pins.pinnedGroupsNote...
const VERSION = "6.00.5" function isFirstTime () { if (Keywords.get()) { return false } else { /* for in-game text search, visit: https://strings.wakingsands.com/ */ let defaultWords = [ "招募队员结束,队员已经集齐", "成功完成了探险", "招募队员结束,招募期限已过", ] f...
//global constants //the following constant is changed to variable to increase difficulty //const clueHoldTime = 1000; //how long to hold each clue's light/sound const cluePauseTime = 333; //how long to pause in between clues const nextClueWaitTime = 1000; //how long to wait before starting playback of the clue sequenc...
/*! * @githubjs/github-trending v1.1.6 * (c) 2014-2020 <NAME> <<EMAIL>> (https://github.com/upcwangying) * Released under the MIT License. */ 'use strict'; function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configu...
/* Copyright (C) 2016 NooBaa */ 'use strict'; const os = require('os'); const path = require('path'); const argv = require('minimist')(process.argv); const dbg = require('../../util/debug_module')(__filename); dbg.set_process_name('test_env_builder_k8s'); const P = require('../../util/promise'); const os_utils = req...
/** * Copyright 2013-2020 the original author or authors from the JHipster project. * * This file is part of the JHipster project, see https://www.jhipster.tech/ * for more information. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the L...
import React, { Component } from 'react'; import { selectors as taskSelectors, actions as taskActions } from 'reducers/tasks.reducer' import { selectors as timeSelectors, actions as timeActions } from 'reducers/time.reducer' import { connect } from 'react-redux' import { bindActionCreators } from 'redux' ...
/** * @author <a href="http://www.affka.ru"><NAME></a> * @license MIT */ 'use strict'; const Jii = require('../index'); const UrlRule = require('./UrlRule'); const Url = require('../helpers/Url'); const HttpRequest = require('../base/HttpRequest'); const _trimStart = require('lodash/trimStart'); const _isObject = ...
import React, { useEffect, useCallback, useState } from "react"; import { useDispatch } from "react-redux"; import { Input, Label, Select } from "@windmill/react-ui"; import { PlusIcon, MinusIcon } from "../../icons"; import { createForwardRule, editForwardRule } from "../../redux/actions/ports"; const GostTemplates...
/* jquery code is nu een beetje chaos geworden, opnieuw ordenen. Nu vanuit basis van PHPPOST, moet isotope daar wel bij? Ja. */ /* ---------- MySQL image loader script ---------- */ $(window).load(function() { $range = ['1','10']; $filter = 'all'; $value = ''; phppost($range,$filter,$value);...
import { useState } from 'react'; import { useHistory } from 'react-router-dom'; import XIcon from '@heroicons/react/outline/XIcon'; import { DropDown, FileUpload, Form, Submit, TextArea, TextBox } from '../shared/forms'; import { Prose } from '../shared/utilities'; const InventoryItemForm = ({ mutationEvent,...