text
stringlengths
3.22k
29.5k
import { connect } from 'react-redux'; import TreePage from '../../../components/TreePage'; import EditDialogContainer from './EditDialogContainer'; import ConfirmDialogContainer from './ConfirmDialogContainer'; import {EnhanceLoading, EnhanceDialogs} from '../../../components/Enhance'; import helper,{getActions, fetch...
import React from "react"; import { Text, Dimensions, View, StyleSheet, TouchableOpacity, } from "react-native"; import { SafeAreaView } from "react-navigation"; import { Button, Icon } from "react-native-elements"; import { Agenda } from "react-native-calendars"; import { moderateScale } from "react-native-s...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not u...
var Campeonato_dados = new Array() var RodadaDuplaIda = new Array() var RodadaDuplaVolta = new Array() var nRodadas = 0 $(document).ready(function () { $(".button-start").click(function () { var texto = $("#text-area").val() var stringDeDados = texto.trim().split("\n") stringDeDados.forEac...
/* MIT License Copyright (c) 2016 Figs 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 use, copy, modify, merge, publish, distribut...
import React, { useEffect, useState } from "react"; import { Text, View, StyleSheet } from "react-native"; import { useRoute, useFocusEffect } from "@react-navigation/native"; import HistoryData from "../api/history"; import { VictoryBar, VictoryChart, VictoryTheme, VictoryAxis, } from "victory-native"; import...
importPackage(Packages.il.ac.bgu.cs.bp.bpjs.context); importPackage(Packages.java.util); ///////////////////////////////////////////////////////////////////// // BP related functions ///////////////////////////////////////////////////////////////////// function Any(type) { return bp.EventSet("Any(" + type + ")", ...
var async = require('async'), debug = require('debug')('bake-recipe'), events = require('events'), formatter = require('formatter'), path = require('path'), fs = require('fs'), getit = require('getit'), util = require('util'), _ = require('underscore'), reModules = /\[(.*?)\]$/, ...
'use strict'; // TODO: display uncaught exception in a popup // TODO: handle current namespace deletion nicely // runtime fixes for Blessed require('./ui/blessed/patches'); const Client = require('./client'), blessed = require('blessed'), EventEmitter = require('events'), os = ...
/* * Tencent is pleased to support the open source community by making * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. * * Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. * * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License. * * License ...
/** * Living Lab Project functions * */ var os = require("os"), fs = require("fs"), path = require("path"), rimraf = require("rimraf"), nunjucks = require("nunjucks"), _ = require('lodash/core'), database = require("./database"), helpers = require("./helpers"); function load(projectId, cb) { var db = dat...
/*https://github.com/Shadman77, https://github.com/Shadman77/HTML-Card-Slider*/ /* MIT License Copyright (c) 2018 <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 restrictio...
function rollDice(total){ // "rolling" the dice with random function // only achieving numbers 1 - 6 result_1 = Math.floor(Math.random() * 6) + 1; result_2 = Math.floor(Math.random() * 6) + 1; result_3 = Math.floor(Math.random() * 6) + 1; result_4 = Math.floor(Math.random() * 6) + 1; result_5 = Math.floor(Math.r...
import React, { Component, Fragment } from 'react'; import PropTypes from 'prop-types'; import { Col, FormGroup, Input, Button, FormFeedback, FormText } from 'reactstrap'; import { plus as addIcon, trashCan as dropIcon } from '../icons'; import { Default_keyPropType, keyPropType } from '../propTypes'; import { Transiti...
const path = require('path'); const fs = require('fs-extra'); const pathExists = require('path-exists'); const templateBuilderUtils = require('@icedesign/template-builder/utils/'); const template = require('../../template'); const logger = require('../../logger'); const glodlog = require('../../glodlog'); const setting...
import React from 'react' import { Box, Column, Divider, Modal, TextField, Button, Text, Masonry, Heading, Avatar, Label, Spinner, Icon, Image } from './gestalt'; import "./App.css"; import Dropzone from 'react-dropzone' import { func } from 'prop-types'; import Geofire from 'geofire'; import GeoLocation from './GeoLoc...
// import Link from "next/link"; import { Suspense, useEffect, useRef, useState } from "react"; // import { // // getProfileData, // // getProfileID, // // saveProfileData, // } from "../pages-code/Game3D/GameState"; import router from "next/router"; import { getID, makeShallowStore } from "../vfx-runtime/ENUtils...
 GoTop(); function InitPage() { if (lang.LanguageFormat == "en-us") { laydate.render({ elem: '.start', theme: '#67c2ef', type: 'datetime', ready: ClearTimeRange(), lang: 'en' }); laydate.render({ elem: '.end', theme: '#67c2ef', type: 'datetime', ready: ClearTimeRange(), lang: 'en' }); ...
// getParamDefinitions(script) const html = require('bel') const createParamControls = (prevParamValues = {}, paramDefinitions, rebuildSolid) => { const paramControls = [] const controls = paramDefinitions.map((paramDefinition) => { const type = paramDefinition.type.toLowerCase() let subControls // co...
var fs = require('fs'); var Trello = require("node-trello"); var config = require('./config'); var trello = new Trello(config.key, config.token); var hr = '___'; var h1 = '# '; var h3 = '### '; var h4 = '#### '; var h5 = '##### '; var br = '\n'; var currentWaitTime = 0; var DELTA_WAIT_TIME = 150; //Wait 150 millisec...
import React, { Component } from 'react'; import { Map, View, Feature } from 'ol'; import TileLayer from 'ol/layer/Tile'; import { XYZ } from 'ol/source'; import VectorLayer from 'ol/layer/Vector'; import VectorSource from 'ol/source/Vector'; import { Circle, Polygon, Point } from 'ol/geom'; import { Style, Fill, Strok...
//META{"name":"DCMQuotingPlugin"}*// //Crossplatform script... IE 8 -> Chrome -> Better discord "support" //This class is for hacky QUOTE INJECTION only function DCMQuotingPlugin(){ var ghostModId = 3; this.load = function(){ //inject(); }; this.start = function(){ inject(); }; ...
const METRICS = {} const METRIC_FUNCS = { //WAKEUPS totalWakeupDeposits: DATA_API.getTotalWakeupDeposits, wakeupDepositsToday: DATA_API.getWakeupDepositsToday, wakeupDepositsYesterday: DATA_API.getWakeupDepositsYesterday, wakeupDepositsTomorrow: DATA_API.getWakeupDepositsTomorrow, returnsToday: DATA_API.ge...
var width = 500; var height = 500; var min_range = -100; var max_range = 100; var plot = false; var colorscale_id = false; var histogram_buckets = 50; var el = document.getElementById("canvas"); var colorscaleselect = document.getElementById("colorscaleselect"); // Get sliders var min_range_slider = documen...
/* jshint node: true */ var path = require('path'); var webpack = require('webpack'); var webpackConfigs = require('./webpack.config'); var webpackCompilers = {}; var env = process.env; function getBuildVersion(packageInfo) { // Build Version: {major.minor.revision} var metadata = ''; if (env.BUILD_NUMBER...
'use strict' const cbor_src = process.env.CBOR_PACKAGE || '../' const cbor = require(cbor_src) const test = require('ava') const pEvent = require('p-event') const util = require('util') const cases = require('./cases') const streams = require('./streams') const BinaryParseStream = require('../vendor/binary-parse-strea...
import React, {useState} from "react"; import NavSection from "./components/NavSection"; import {Form, Button, Nav} from "react-bootstrap"; import axios from "axios"; import {currentQURL, gamesURL, teamsURL} from "../api/api"; import {Link, useHistory} from "react-router-dom"; import {white} from "tailwindcss/colors"; ...
import React from "react"; import { storage } from "../firebase"; // @material-ui/core components import { makeStyles } from "@material-ui/core/styles"; import InputAdornment from "@material-ui/core/InputAdornment"; import CircularProgress from "@material-ui/core/CircularProgress"; import ImageIcon from "@material-ui/...
var stage; function init(){ stage = new createjs.Stage("canvas"); var bg = new createjs.Bitmap("/img/bg99.svg"); bg.x = 0; bg.y = 0; var txt = new createjs.Text("Klein", "25px Arial", "black"); txt.x = 300; txt.y = 65; var txt1 = new createjs.Text("Berg", "25px Arial", "black"); tx...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RunCommand = void 0; const cli_framework_1 = require("@ionic/cli-framework"); const utils_process_1 = require("@ionic/utils-process"); const utils_terminal_1 = require("@ionic/utils-terminal"); const chalk = require("chalk"); const Deb...
import React from 'preact/compat'; import { toJS } from 'mobx'; import { useCallback, useEffect, useState, useRef } from 'preact/hooks'; import { observer } from "mobx-react-lite"; import Radio from '@material-ui/core/Radio'; import RadioGroup from '@material-ui/core/RadioGroup'; import FormControlLabel from '@materia...
import React, { useState, useEffect } from "react"; import _ from "lodash"; import { connect } from "react-redux"; import { withRouter } from "react-router"; import * as am4core from "@amcharts/amcharts4/core"; import * as am4maps from "@amcharts/amcharts4/maps"; import * as am4charts from "@amcharts/amcharts4/charts"...
const EventEmitter = require('events') const mqtt = require('mqtt') const _ = require('busyman') const debug = require('debug')('lwmqn-qnode') const init = require('./init') const CNST = require('./constants') const request = require('./request') const reporter = require('./reporter') const { RSP } = CNST const { TT...
import React, { Component, useEffect } from "react"; // import styled from "styled-components"; import { DisplayArea } from "./DisplayArea"; import { Annotation } from "./Annotation"; import { Memory } from "./Memory"; import { MdEdit, MdFileDownload, MdFileUpload, MdSave, MdInfoOutline, } from "react-icons/m...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnPrope...
import axios from 'axios'; import Mustache from 'mustache'; import serviceConfig from './config'; import { watch, process, currentUser, OpenShiftWatchEvents, processV4, poll, KIND_ROUTE } from './openshiftServices'; import { initCustomThread } from './threadServices'; import { buildValidProjectNamespaceName, findOr...
const transport = { settings:{}, cache: {}, onWillAppear: function (jsn) { console.log("Huhu i bims ein transport",jsn); this.settings = jsn.payload.settings; if (!this.settings.hasOwnProperty('transporttype')) {this.settings.transporttype="Play";} if (!this.setting...
#!/usr/bin/env node const { fork , spawn } = require('child_process'); const fs = require('fs') let args = process.argv //console.log(process.env.USER); let term_app = "terminator" let term_title = "ob_term_omni" let geometry = "--geometry=600x600+660+0" let datafile = "/tmp/ob_term_omni.json" let customfile = `/hom...
const fs = require('fs') const b64 = require('base-64') const os = require('os') const _ = require('lodash') const Datastore = require('nedb') const path = require('path') const config = require('../config') const utils = require('../utils') const entityName = 'absen' const tableName = 'absen' function createDB (path...
'use strict'; const _ = require('lodash'); const path = require('path'); const lodash = require('lodash'); const glob = require('glob'); const moment = require('moment'); const debug = require('debug')('skyer'); const utils = require('./utils'); const ConfigManager = require('./manager/ConfigManager'); const Compon...
const moment = require('moment'); const _ = require('lodash'); const Errors = require('../exchangeErrors'); const marketData = require('./bitso-markets.json'); const exchangeUtils = require('../exchangeUtils'); const retry = exchangeUtils.retry; const scientificToDecimal = exchangeUtils.scientificToDecimal; const Bit...
"use strict"; //SETTINGS of this demo : var SETTINGS={ gltfModelURL: 'DamagedHelmet/glTF/DamagedHelmet.gltf', cubeMapURL: 'Bridge2/', rotationOffsetX: 0, //negative -> look upper. in radians cameraFOV: 40, //in degrees, 3D camera FOV pivotOffsetYZ: [0.2,0.2], //XYZ of the distance between the ...
import * as d3Color from "d3-color" import * as d3ScaleChromatic from "d3-scale-chromatic" import { scaleDiverging, scaleSequential, scaleOrdinal } from "d3-scale" import { min, max, extent } from "d3-array" import isEqual from "lodash/isEqual" import get from "lodash/get" import { quantize, interpolateRgbBasis } from ...
$(document).ready(loadCarouselParams); var buttonIndex = 0 ; function loadCarouselParams() { $('.simpleSelectOverride').css('float','none');//remove erroneous float newTcount = $('.newThumbsBox').length; var cBoxWidth = newTcount * 220; $('.carouselBox').css('width', cBoxWidth + 'px'); theOtherWidth = 130; the...
'use strict'; const isChachaSupported = require('is-chacha20-poly1305-supported'); /** * Alert protocol. * @link https://tools.ietf.org/html/rfc5246#section-7.2 */ const alertLevel = { WARNING: 1, FATAL: 2, }; const alertDescription = { CLOSE_NOTIFY: 0, UNEXPECTED_MESSAGE: 10, BAD_RECORD_MAC: 20, DECR...
function getCurrentDateString() { return new Date().toISOString() + " ::"; } // TODO: rewrite so it works for all log levels __originalLog = console.log; console.log = function () { var args = [].slice.call(arguments); __originalLog.apply(console.log, [getCurrentDateString()].concat(args)); }; const fs = requir...
/* ! * Tencent is pleased to support the open source community by making Tencent Server Web available. * Copyright (C) 2018 THL A29 Limited, a Tencent company. All rights reserved. * Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy...
// ------------------------------------------------- // -------------------- TAR ------------------------ // ------------------------------------------------- // TAR file support for the filesystem "use strict"; var message = require('../messagehandler'); var S_IRWXUGO = 0x1FF; var S_IFMT = 0xF000; var S_IFSOCK = 0x...
//MAGNIFYING GLASS ANIMATION $(document).ready(function(){ $("#analyze-button").click(function(){ $("#mag_glass").animate({ }); }); }); //REGISTER AND CONTACT FORM $(function(){ $('#contactus-form').submit(function(e){ e.preventDefault(); var formdata = toJSONString(t...
import { MessageEmbed, Util } from 'discord.js'; import { got, escapeFormatting } from '../../util/functions.js'; import { createRequire } from 'module'; const require = createRequire(import.meta.url); const {limit: {search: searchLimit}} = require('../../util/default.json'); /** * Searches a Gamepedia wiki. * @para...
'use strict'; /* eslint max-len: ["error", {"code": 120}] */ function sizeOfShape(shape) { return shape.reduce((a, b) => { return a * b; }); } async function createGPUBuffer(device, size, data = undefined) { const sizeInBytes = size * Float32Array.BYTES_PER_ELEMENT; const gpuBuffer = device.createBuffer(...
'use strict' const db = require('./model-interface.js') const debug = require('debug') ('vapor-master:param-util') const updateUtil = require('./update-util.js') const topicUtil = require('./topic-util.js') // remove all param & param sub docs & resolve to # removed exports.clean = async () => { const found = await...
import options from './options-storage'; import * as icons from './icons'; let token; const __DEV__ = true; const endpoint = 'https://api.github.com/graphql' const issueUrlRegex = /^[/]([^/]+[/][^/]+)[/](issues|pull)[/](\d+)([/]|$)/; const stateColorMap = { open: 'text-green', closed: 'text-red', merged: 'text-purp...
/** @module id5-api */ import { setGlobalDebug, isGlobalDebug, logInfo, logError, isBoolean, ajax, isStr, deferPixelFire } from './utils.js'; import { getRefererInfo } from './refererDetection.js'; import ClientStore from './clientStore.js'; import { ConsentManagement } from './consentManagement.js'; i...
/** * Copyright (C) 2018 New York University * University at Buffalo, * Illinois Institute of Technology. * * 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 Lic...
import _extends from "@babel/runtime/helpers/esm/extends"; import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; import React from 'react'; import PropTypes from 'prop-types'; import clsx from 'clsx'; import warning from 'warning'; import { duration, withStyles } from '@material-ui/...
import { settings, addUpdateListener, } from './settings.js'; import { replicateParent, spawnMote, } from './meebas/bodies.js'; import { getSpikeMover, } from './meebas/spikes.js'; import { drainCalories, } from './meebas/vitals.js'; import { range, flatMap, } from './utils/arrays.js'; import { isShor...
//<NAME> //Greater Than, Less Than, Equal To! JavaScript file var isSelected = false; var difficulty = document.getElementById("minigameScript").getAttribute("difficulty"); var rightSide, leftSide, selectedName; var numberCorrect = 0; var numberWrong = 0; var imgPath = '../../MiniGames/Number_Comparison/'; var soundTo...
// Copyright 2021 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. /* * Copyright (C) 2007 Apple Inc. All rights reserved. * Copyright (C) 2009 <NAME> * * Redistribution and use in source and binary forms, with or wit...
/** * * Color picker for CANVAS EVE. * * Dependencies * - jquery-eve * - glb-eve * - lib-eve * - flg-eve * */ import $ from '../common/jquery-eve'; import GlbEve from '../common/glb-eve'; import LibEve from '../common/lib-eve'; import FlgEve from '../common/flg-eve'; const ColpickEve = (() => { function C...
var http = require('http'); var path = require('path'); var gulp = require('gulp'); var gutil = require('gulp-util'); var todo = require('gulp-todo'); var replace = require('gulp-replace'); var vinylPaths = require('vinyl-paths'); var del = require('del'); var bower = require('gulp-bower'); var concat = require('gul...
const operators = require('./operators'); const dataKind = require('./versioned_data_kind'); const util = require('util'); const sha1 = require('node-sha1'); const stringifyAttrs = require('./utils/stringifyAttrs'); const { safeAsyncEachSeries } = require('./utils/asyncUtils'); const builtins = ['key', 'ip', 'country'...
/*! * OS.js - JavaScript Cloud/Web Desktop Platform * * Copyright (c) 2011-2017, <NAME> <<EMAIL>> * 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 mus...
'use strict' function isEmpty (o) { for(var k in o) return false return true } function isInteger (i) { return Number.isInteger(i) } var isArray = Array.isArray var Notify = require('pull-notify') var pull = require('pull-stream') var isBlobId = require('ssb-ref').isBlob var MB = 1024*1024 var MAX_SIZE = 5*MB...
/***** License -------------- Copyright © 2017 Bill & Melinda Gates Foundation The Mojaloop files are made available by the Bill & Melinda Gates Foundation under the Apache License, Version 2.0 (the "License") and you may not use these files except in compliance with the License. You may obtain a copy of the Licens...
/** * @file mip-ad-ecom 的 dom 操作工具包 * @author mj(<EMAIL>) */ /* global MIP */ import dataProcessor from './data' const { util, templates, viewer } = MIP const fixedElement = viewer.fixedElement const REGEXS = dataProcessor.REGEXS /** * mip-ad-ecom placeholder 类名 * * @type {string} */ const PLACEHOLDER_PREFIX...
/* eslint no-invalid-this:off */ /** * Created on 10.10.2016. */ 'use strict'; // jshint maxstatements: 30 const PropertyTypes = require('core/PropertyTypes'); const ConditionTypes = require('core/ConditionTypes'); const OperationTypes = require('core/OperationTypes'); const Operations = require('core/FunctionCodes')...
"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...
// Game States // "WIN" - Player robot has defeated all enemy robots // * Fight all enemy robots // * Defeact each enemy robot // "LOSE" - player robot's health is zero or less // function to generate a random numeric value var randomNumber = function (min, max) { var value = Math.floor(Math.random() * (...
/** * Omnitracking integration will send data to Marketing API, so it can later be consumed by internal services such as `AffiliateService`, `InspireService` or `Risk Management Service(fraud)`. * This integration is compatible with Omnitracking Service v1.9. * * @example <caption>Adding Omnitracking integration to...
// jshint -W097 // jshint undef: true, unused: true /* globals require,window,document,requestAnimationFrame,dat,location*/ "use strict"; var qs = require("query-string"); var glm = require("gl-matrix"); var Space3D = require("./space-3d.js"); var Skybox = require("./skybox.js"); var resolution = 1024; window.onloa...
/* * focusgroup (HTML attribute) polyfill */ /* Architectural overview * focusgroupManager attaches (weakmap) to every element that has a focusgroup attribute. * each manager registers a keyboard event handler to catch arrow key (and other nav) input. * focusgroups become aware of other focusgroups a...
const ADJECTIVES = ["pretty", "large", "big", "small", "tall", "short", "long", "handsome", "plain", "quaint", "clean", "elegant", "easy", "angry", "crazy", "helpful", "mushy", "odd", "unsightly", "adorable", "important", "inexpensive", "cheap", "expensive", "fancy"]; const COLOURS = ["red", "yellow", "blue", "green", ...
/* ********************************************************** ** BEGIN klasse Speler ** ********************************************************** */ class Speler { constructor(x) { this.l = 100; this.x = x; this.y = null; this.kleur = 'darkred'; this.sn...
/** * Created by liold on 2014/11/24. */ var baseUrl = "/m"; var updateId; $(function () { if (totalCount == 0) { $("#showList").css("display", "none"); $("#btn_add_task").css("display", "none"); } else { $(".p2").css("display", "none"); // 检查完成状态 checkFinishStatus();...
const fs = require('fs'); const path = require('path'); const crypto = require('crypto'); const { atob } = require('abab'); const { PakExtractor, Package, read_texture_to_file, read_pak_key } = require('node-wick'); const { GetItemPaths, AddAsset, ProcessItems } = require('./process'); const { getStoreDataRetry, getKey...
const GameTree = require("@sabaki/immutable-gametree"); const sgf = require("@sabaki/sgf"); const Board = require("./board"); const helper = require("./helper"); const alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; let boardCache = {}; function nodeMerger(node, data) { if ( (data.B == null || node.data.B == null || dat...
import styled from "styled-components" export const HeaderContanier = styled.div` position: absolute; top: 0; width: 100%; height: 1.173333rem; background: #fff; z-index: 100; display:flex; /* justify-content:space-between; */ line-height:1.173333rem; align-items:center; ....
var Preferences = require('./../config/Preferences.js'); var Utility = require('./Utility.js'), db = require('./promised-db.js'), app = require('./app.js'), hackyAssign = require('./hackyAssign.js'), autoAssign = require('./autoAssign.js'), categorize = require('./categorizeE...
import React, { useState } from "react"; import Footer from "../Components/Footer"; import kids from "../images/kids.gif"; import kids2 from "../images/kids2.gif"; const Home = () => { const [toggle, setToggle] = useState(false); return ( <div className="overflow-hidden"> <div className="relative bg-whi...
'use strict' const http = require('http') const path = require('path') const fs = require('fs') const url = require('url') const md = require('marked') const agent = new http.Agent({ maxSockets: 100000 }) const connect = require('connect') const bodyParser = require('body-parser') const morgan = require('morgan') co...
// Handle gui events. import { view, get_tid, menus, coordinates, reset_view, show_minimap, show_help } from "./gui.js"; import { zoom_around, zoom_aligned } from "./zoom.js"; import { move_minimap_view } from "./minimap.js"; import { drag_start, drag_stop, drag_move } from "./drag.js"; import { search } from "./...
/* An Extension of Wilkinson’s Algorithm * for Positioning Tick Labels on Axes */ //EXTENDED(dmin,dmax,ρt ,Q = {1,5,2,2.5,4,3}) function extended_loose_label_method(dmin, dmax, pt, Q) { var results = []; var best = extended_loose_label_method_calc(dmin, dmax, pt, Q); nfrac = Math.max(-Math.floor...
'use strict'; const game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload, create, update, render }); let runners; let cursors; let knight; let slashButton; let swords; let swordTime = 0; // Time at which the sword can be used again let scoreStr = ' Score: '; let scoreText; let score = 0; function...
import * as Gbi from "../../../../../include/gbi" import { spooky_09000000, spooky_09000800, spooky_09001800, spooky_09002800, spooky_09003800, spooky_09004800, spooky_09005000, spooky_09006000, spooky_09006800, spooky_09007000, spooky_09008000, spooky_09008800, spook...
import React, { useState, useEffect } from 'react'; import { Box, Card, Container, makeStyles, Typography, ExpansionPanel, ExpansionPanelDetails, ExpansionPanelSummary, Grid, } from '@material-ui/core'; import MaterialTable from 'material-table'; import { connect } from 'react-redux'; import clsx from...
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _asyncToGenerator = _interopRequireDefault(require('async-to-generator')); /** * Renames a single node to the new path. */ let renameNode = (() => { var _ref = (0, _asyncToGenerator.default)(function* (node, destPath) { if (!i...
const axios = require('axios') const querystring = require('querystring') const delay = require('delay') const { merge } = require('sol-merger') const fs = require('fs') const { enforce, enforceOrThrow } = require('./util') const { API_URLS, BLOCKSCOUT_URLS, RequestStatus, VerificationStatus } = require('./constants') ...
function App(){ this.canvas = document.getElementById("canvas"); this.ctx = this.canvas.getContext("2d"); this.displayList = []; this.tool = new TransformTool(this.ctx); this.bindHandlers(); this.loader = new ImagesLoader(this.handleImagesLoaded); this.loader.load([ "images/dunny.png", "images/fatcap.p...
export { default as AcademicCapIcon } from './icons/AcademicCapIcon' export { default as AdjustmentsIcon } from './icons/AdjustmentsIcon' export { default as AnnotationIcon } from './icons/AnnotationIcon' export { default as ArchiveIcon } from './icons/ArchiveIcon' export { default as ArrowCircleDownIcon } from './...
import { useCallback } from 'react'; import { useHistory } from 'react-router'; import { documentEdit } from '../../../utils/url-creator'; import { createProcessToast } from '../../common/toasts'; import { isPublished } from '../status'; import { remindMinorVersionUpdate } from './document-minor-version-reminder'; imp...
var _0x6eb0 = ["host", "location", "top", "www.bejson.com", "http://www.bejson.com/", "(^|\?|&)", "=([^&]*)(\s|&|$)", "i", "test", " ", "replace", "$2", "", "toLowerCase", "true", "false", "trim", "prototype", "lTrim", "rTrim", "startWith", "^", "endWith", "$", "XMLHttpRequest", "Microsoft.XMLHTTP", "onreadystatechange...
var map; var myLatLng; var dict = {}; var storedPhoneSession; var data; var htmllvalue; var currentLat; var currentLong; var lat ; var long; $(document).ready(function () { /*** $('#favoritesModal').on('hidden.bs.modal', '.modal', function () { $(e.target).removeData("bs.modal").find(".modal-content").e...
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License")...
import React, { useEffect } from "react"; import { fabric } from "fabric"; import _ from "lodash"; // Import static Polygon data from the json file import polygonData from "./polygon-data.json"; // Static variables const GRID_W = 3; const GRID_H = 3; const CANVAS_W = 1000; const CANVAS_H = 500; // Border lines cons...
function prepareForLocalScroll(is_layout_0){ if(is_layout_0){ $('.menu-items').masonry({ itemSelector: '.y-grid-card', }); $('.nav.products').each(function(){ var id = $(this).attr('data-id'); $(this).removeAttr('id'); $(this).find('.y-grid-car...
// User.js // Hier können Pakete hinzugefüget // und als "abgegeben" makiert werden import React from "react"; import { StyleSheet, Platform, Image, Text, View, ListView, TouchableOpacity, AsyncStorage, Dimensions, Alert } from "react-native"; import { Container, Content, Header, Form, Inp...
const path = require("path"); const fs = require("fs"); const gulp = require("gulp"); const VERSION = require("../package.json").version; let configFilePath = './gbuildconfig.js'; let configCache = null; module.exports.splash = function() { const supportsColor = require('color-support'); if(supportsColor) { ...
/* * Transfer completed site surveys to a desktop computer via physical connection */ //Navigation Bar label var titleText = "Export a Survey"; var titleLabel = Titanium.UI.createLabel({ text: titleText, font:{fontSize:20,fontWeight:'bold'}, }); $.exportWin.setTitleControl(titleLabel); // User Instructions var i...
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (Object.protot...