text
stringlengths
5.97k
41.2k
/** 🎨 @file palette maps @summary allows color pallettes to be defined on a tile-by-tile basis @license MIT @version auto @requires Bitsy Version: 6.1 @author <NAME> @description This hack lets you change the color palette, on a tile-by-tile basis. Each tile can use a different palette's background, tile, sprite, and...
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const repository_1 = require('../core/repository'); const types_1 = require('../types'); const errors_1 = require('../errors'); const sizeOf = require('image-size'); const Bluebird = require('bluebird'); const Chance = require('chance'); const...
import { Button,Card,CardBody,CardHeader,Col, Form,FormFeedback,FormGroup, InputGroup, InputGroupAddon, FormText,Input,Label,Row,Table,Modal,ModalBody, ModalFooter } from 'reactstrap'; import React from 'react'; import loadingImg from 'assets/img/logo/loading.gif'; import { func } from 'prop-types'; expo...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Cesium = require("cesium"); const fs = require("fs-extra"); const _ = require("lodash"); const dataUriToBuffer = require("data-uri-to-buffer"); const buffer_1 = require("buffer"); const envelop3D_1 = require("../quadtree/envelop3D"); con...
import React, { Component } from 'react'; import { Platform, StyleSheet, View, Image, FlatList, RefreshControl, ActivityIndicator, Alert} from 'react-native'; import { Content, Fab, Item, Input, Header, Thumbnail, Footer, FooterTab, Left, Body, Right, Title, Container, Card, CardItem, Text, Button, Drawer } from 'nativ...
var ƒ = d3.f console.clear() var matches = d3.csvParse(`t1,t2,winner,date,time,vod SKT,GAM,1,2017-05-11,CET=00:30,shownname=MSI 2017 Main Event|vod1=http://youtu.be/7RYu0DwGk7s?t=2m28s WE,SKT,2,2017-05-12,CET=01:00,shownname=MSI 2017 Main Event|vod1=http://www.youtube.com/watch?v=tUO9GwgO6KY&t=3m33s G2,SKT,2,2017-05-1...
var generatedVegaSpec = {} var visualizationData = [] var generatedVegaSpecEncoding = {}; var serverUrl = "" $(function () { var toastNotificationSelector var toastNotification CarbonComponents.settings.disableAutoInit = true; toastNotificationSelector = document.querySelector('[data-notification]'); ...
/* global __static:readonly */ const { spawn } = require("promisify-child-process"); import path from "path"; import * as os from "os"; import merge from "lodash.merge"; import clonedeep from "lodash.clonedeep"; import ethagen from "ethagen/wallet"; import moniker from "moniker"; import fixPath from "fix-path" import ...
import {check} from './lib.js'; import {AudioChunk, PlaceholderChunk, CompressedAudioChunk, ServerClockReference, ClockInterval} from './audiochunk.js' // This gates all the logs that put references to REALLY HUGE objects into the console // very frequently. When this is on, having the console open eventually causes...
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CodingSupporter = void 0; const CmnLib_1 = require("./CmnLib"); const ScriptScanner_1 = require("./ScriptScanner"); const vscode_1 = require("vscode"); const hMd = require('../md.json'); class CodingSupporter { constructor(ctx, pat...
const functions = require("firebase-functions"); const admin = require("firebase-admin"); const capitalizeSentence = require("capitalize-sentence"); const Filter = require("bad-words"); const badWordsFilter = new Filter(); // Initialize Firebase Admin SDK admin.initializeApp(); // Create Firestore settings const fire...
/***************************************************************************** * logger.js * Copyright 2012-2016 <NAME>. May be freely distributed under the MIT license. *****************************************************************************/ 'use strict'; var util = require('util'); var format = require('./f...
import { Autocomplete } from "@mui/material"; import * as React from "react"; import { useState, useEffect } from "react"; import Table from "@mui/material/Table"; import TableBody from "@mui/material/TableBody"; import TableCell from "@mui/material/TableCell"; import TableContainer from "@mui/material/TableContainer";...
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *-------------------------------------------------...
require('@electron/remote/main').initialize() // Requirements const {app, BrowserWindow, ipcMain, Menu, dialog, shell} = require('electron') const autoUpdater = require('electron-updater').autoUpdater const ejse = require('ejs-electron') const fs = require('fs') const isDev = require('./app/template/default/assets/js/...
import nearestColour from 'nearest-color'; import { $ } from '../lib/$.js'; import { emptyCanvas, getCoords } from './sprite-tools.js'; import trackDown from '../lib/track-down.js'; import { next512FromRGB, rgbToHex } from './lib/colour.js'; import palette, { sorter } from './Palette.js'; import Bind from '../lib/bind....
/*! Copyright (C) 2016 <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.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
import _extends from "@babel/runtime/helpers/esm/extends"; import PropTypes from 'prop-types'; // utils var noop = function noop(n) { return n; }; export var propTypes = { numberOrString: PropTypes.oneOfType([PropTypes.number, PropTypes.string]), responsive: PropTypes.oneOfType([PropTypes.number, PropTypes.stri...
var pym = require("./lib/pym"); var ANALYTICS = require("./lib/analytics"); require("./lib/webfonts"); var { isMobile } = require("./lib/breakpoints"); var pymChild; var dataSeries = []; var annotations = []; var skipLabels = ["date", "annotate", "x_offset", "y_offset", "date_label","source","includeCount","rightsideO...
var otblhomologaciones; var cboEstado var varfregdesde = '%', varfreghasta = '%', varfinidesde = '%', varfinihasta = '%', varfterdesde = '%', varfterhasta = '%'; $(document).ready(function() { $('#txtFregDesde,#txtFregHasta,#txtFiniDesde,#txtFiniHasta,#txtFterDesde,#txtFterHasta').datetimepicker({ format...
var currentUTC = 0; var CallRequest = null; var ClearTickTook = false; var Tickers = {}; var Calls = {}; var debug = setDebug(); var PlanetTricker = {}; var PlanetCurrent = {}; var apiServer = ""; var jarunikServer = ""; var skipCache = {}; //Global Variablen var Bufforder = ['Scout','Patrol','Cutter','...
"use strict"; /* * Created with @iobroker/create-adapter v1.34.1 */ var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || ...
var SpriteLibrary = [ {filename: "ship_1.png", name: "Ship_1", index: 0, scale: 0.8}, {filename: "ship_2.png", name: "Ship_1", index: 1, scale: 0.8}, {filename: "ship_3.png", name: "Ship_1", index: 2, scale: 0.8}, {filename: "Schaufel.png", name: "Werkzeug", index: 0, scale: 1.0}, {filename: "m...
/* TODO: use emit!! TODO: remove redundant methods from components / vue app instance TODO: add object and logic to track existence and content of dataset fields and resulting action (visibility, text to display, etc). E.g.: -- if there are no publications, hide empty publication card and show sentence "There are curr...
"use strict"; let handleDiagram = { pointerover: null, pointerleave: null, click: null, pointerdown: null, pointerup: null, pointermove: null, dismiss: null } let handleDiagramAvailable = false; let addPointButton; let diagram; function takeNextLabel() { let value = nextLabel; if ...
import React, { useCallback, useContext, useEffect, useRef, useState, } from 'react' import { useParams } from 'react-router-dom' import Mapa from 'assets/mapas/RiskMapa' import partidaEstado, { JUGADAS, ACCIONES, MAPEO_TIPO_ACCIONES, ESTADOS, obtenerOrigen, obtenerDestino, refuerzosRestante...
"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 active_info = { config: { monHead: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], _data: { } }, init: function() { active_info.initUI(); active_info.bindEvents(); active_info.adapterHeight(); active_info.focusCalendar(); active_info.viewInfo(); active_info.placeholder(); ...
/* eslint { no-unused-vars: 0 } */ 'use strict'; function MiniChart(base, counter, markets, gateways) { var self = this; var header; var details; var showHigh; var showLow; var range; var change; var volume; var wrap; var svg; var bg; var pointer; var gEnter; var flipping; var flip; ...
var details = undefined; var rec = {}; var runrequest = undefined; var blacklist = function(e) { e.preventDefault(); var email = $('#admin_email').val(); $('#admin_email').val(""); var opts = { type:'POST', url: api+'/dnr?refuse=false&email=' + email, cache:false, contentType: 'application/jso...
//console.log = function(){} const tableData = {} var vesselName; function getVesselName(){ (async() => { try { var response = await fetch("/signalk/v1/api/vessels/self/name"); vesselName = await response.json(); return vesselName } catch (e) { console.log("Error fetching boat name") ...
import './Editor.scss'; import global from '/core/Global'; import A from '/core/Array'; import ui from './ui/UI'; import View from './ui/View'; import Panel from './ui/Panel'; import Dialog from './ui/Dialog'; import PageList from './PageList'; import AssetList from './AssetList'; import Property from './Property'; imp...
const {ConfigObject} = require("./config"); function initDsl() { const objects = []; value(objects, "DSL.opmode", "DSL Operating mode", "string", "", d => parse(/dsl_opmode = "\s*(.*)\s*";/, d)); value(objects, "DSL.pathmode", "DSL Path mode", "number", "", d => parseInt(parse(/dsl_pathmode = "\s*(.*)\s*...
'use strict'; var HtmlElement = require('./HtmlElement'); var removeDashes = require('../util/removeDashes'); var safeVarName = require('../util/safeVarName'); var ok = require('assert').ok; var Node = require('./Node'); var CUSTOM_TAG_KEY = Symbol('CustomTag'); function getNestedVariables(elNode, tagDef, codegen) {...
import React, {Component} from 'react'; import {connect} from 'react-redux'; import PropTypes from 'prop-types'; import {buildTree, formatTime} from 'client/common.js'; import {Form, Switch, Button, Icon, Tooltip, message, Input, Select, Layout, Row, Popconfirm, TreeSelect} from 'antd'; import {handleSwaggerUrlData} fr...
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })...
import {loginByEmail, logout} from 'api/new-login'; import {getInfo} from 'api/login'; import Cookies from 'js-cookie'; import {getModuleStatus} from "../../api/systemSet/sysConfig/seriaNum"; import store from "../../store/index"; import permission from "../../store/permission"; import router from 'router'; const user...
/* Copyright (C) 2011 - 2012 <NAME> Copyright (C) 2015 <NAME> This program 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. This program is ...
export { default as AccountCashO } from "./AccountCashO"; export { default as AccountO } from "./AccountO"; export { default as Alert } from "./Alert"; export { default as AlertOctagonO } from "./AlertOctagonO"; export { default as AlertOctagon } from "./AlertOctagon"; export { default as Apple } from "./Apple"; export...
import "d3-transition"; import { select, selectAll, event } from "d3-selection"; import { ascending } from "d3-array"; import * as shape from "d3-shape"; import initFormatter from "@flourish/number-formatter"; import state from "./state"; import data from "./data"; import update from "./update"; import { getProcessed...
var assert = require('assert'); var utils = require('./utils'); var logging = require('./logging'); // Connection // ---------- // The Connection class manages HTTP/2 connections. Each instance corresponds to one transport // stream (TCP stream). It operates by sending and receiving frames and is implemented as an...
// TODO: Log viewing. // TODO: Historical error rates (caching in db) for a region or job or status. // Average run time for each status. Distribution... standard deviation // TODO: Comment this file. (javadoc style?) /**************** Constants ****************/ String.prototype.format = function() { ...
'use strict'; exports.__esModule = 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]; } } } return target; }; var _react = requi...
//********** DEFINICIONES ********************* var isSmallDevice = window.innerWidth < 840 ? true : false; var path = d3.geoPath(); var padding = 1; var nodes, bubbles; var isSmallDevice = window.innerWidth < 840 ? true : false; var height = isSmallDevice ? 568 : 800; var width= isSmallDevice ? window....
import r from 'rethinkdb' import config from '../config.json' import { handleEvent } from '../socketing' import reversi from 'clovers-reversi' import { parseLogForStorage } from './util' import { provider, events } from '../lib/ethers-utils' import tables from './db-tables' import { checkUserBalance } from '../models/c...
var threeDS2utils = require('./threeds2-js-utils.js'); const configuration = { locale: $('#currentLocale').val(), // Defaults to en_US originKey: originKey, environment: environment, risk: { enabled: false } }; const checkout = new AdyenCheckout(configuration); const cardNode = document.ge...
import { display, newline, gcd, error, fast_exp, math_max, math_min } from '../lang/source' const pair = (x, y) => [x, y] const head = pair => pair[0] const tail = pair => pair[1] function add_rat(x, y) { return make_rat( numer(x) * denom(y) + numer(y) * denom(x), denom(x) * denom(y) ) } fu...
/** * Copyright (C) 2018 <NAME> * Licensed under the Apache License, Version 2.0 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 */ 'use strict'; var util = require('util'); var qdiff = require('./qdiff'); var Pipe = process.binding('pipe_wrap').Pipe; var TTY = process.bindin...
const zlib = require("zlib"); const Bin = require("../binary"); const Archiver = require("../archiver"); const CENTRAL_DIRECTORYD_HEADER_SIGNATURE = Buffer.from([0x50, 0x4B, 0x01, 0x02]); const LOCAL_FILE_HEADER_SIGNATURE = Buffer.from([0x50,0x4B,0x03,0x04]); const CENTRAL_DIRECTORYD_END_SIGNATURE = Buffer.from([0x50...
import _ from 'lodash'; import moment from 'moment'; import { sprintf } from 'sprintf-js'; const messages = { required: 'The %s field is required.', matches: 'The %s field does not match the %s field.', default: 'The %s field is still set to default, please change.', valid_email: 'The %s field must contain a v...
const { cipher, decipher } = require('./util/ciphers') const { checkPassword, hashPassword } = require('./util/passwords') const settings = new WeakMap() const QUERY_METHODS = [ 'count', 'countDocuments', // Mongoose has no deleteMany hooks?! // estimatedDocumentCount does not accept a filter, so no need… '...
"use strict"; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.ap...
/* Document : image_map Created on : 21 Jun 13, 19:14:52 Author : <NAME> <<EMAIL>>, <<EMAIL>> */ //core var mousedown_time = 0; var mousehold = false; var act_helper = ''; //core $(document).ready(function() { //setting up mousehold var interval; //setting up mousehold $("body").mousedown(fu...
/** * Copyright (c) 2016, <NAME> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAI...
// lib code var state = require('../haxe-state') , run = require('../haxe-call') , uuid = require('../utils/uuid') , code = require('../utils/haxe-code') , compiler = require('../parsing/compiler') // node built in , path = require('path') // dep code , xml2js = req...
import Plugin from "@ckeditor/ckeditor5-core/src/plugin"; import TextWatcher from "@ckeditor/ckeditor5-typing/src/textwatcher"; import Collection from "@ckeditor/ckeditor5-utils/src/collection"; import ContextualBalloon from "@ckeditor/ckeditor5-ui/src/panel/balloon/contextualballoon"; import Rect from "@ckeditor/ckedi...
const Discord = require('discord.js') const schedule = require('node-schedule') exports.start = (client, options) => { try { if (!client.mongo || !client.db) throw('[CORE] Não foi possível encontrar o link com o mongoDB.') class Core { constructor(client, options) { thi...
/* Copyright 2021 The Matrix.org Foundation C.I.C. 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 to in ...
import Exchange from 'oip-exchange-rate'; import uid from 'uid' const NiceHash = "NiceHash" const MiningRigRentals = "MiningRigRentals" import {toNiceHashPrice} from "./util"; import {ERROR, NORMAL, WARNING, LOW_BALANCE, LOW_HASHRATE, CUTOFF, RECEIPT} from "./constants"; /** * Manages Rentals of Miners from multipl...
/* * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ 'use strict'; const startButton = document.getElementById('startButton'); const callButton = do...
// DO NOT EDIT THIS FILE. // This file is part of the Jax Framework. // If you edit this file, your changes will be lost when framework updates are applied. // Copyright (c) 2010-2016 <NAME> // All rights reserved. // This software is released under the BSD license. // Please see the accompanying LICENSE.txt for detai...
/* jslint node: true */ 'use strict'; // // ANSI Terminal Support Resources // // ANSI-BBS // * http://ansi-bbs.org/ // // CTerm / SyncTERM // * https://github.com/protomouse/synchronet/blob/master/src/conio/cterm.txt // // BananaCom // * http://www.bbsdocumentary.com/library/PROGRAMS/GRAPHICS/ANSI/...
const stelace = require('./admin-sdk') const { get, keyBy, mapValues, pick, isBoolean, unset, isEqual, isUndefined, omitBy, isNil } = require('lodash') const pMap = require('p-map') const pProps = require('p-props') const path = require('path') const fs = require('fs') const { execSync } = require('child_process') cons...
var net = require("net"); var fastcgi = require("fastcgi-parser"); var dns = require("dns"); var events = require("events"); var url = require("url"); var inherits = require("util").inherits; var HTTPParser = process.binding("http_parser").HTTPParser; var stream = require("stream"); /* * support X-SendFile */ var gi...
const fs = require('fs'); const fse = require('fs-extra'); const sass = require('node-sass'); const less = require('less'); const globby = require('globby'); const chalk = require('chalk'); const autoprefixer = require('autoprefixer'); const postcss = require('postcss'); const jade = require('jade'); const path = requi...
var canvas; var messageBox; var gl; // Objects holding data for individual shader programs var splashProgram = {}; // Renders an initial splash to the previous and current texture var simulationProgram = {}; // Renders the texture for the next time step based on the last two var screenProgram = {}; ...
'use strict'; var env = require('gitter-web-env'); var logger = env.logger; var _ = require('lodash'); var persistence = require('gitter-web-persistence'); var getMaxTagLength = require('gitter-web-shared/validation/validate-tag').getMaxTagLength; var secureMethod = require('gitter-web-utils/lib/secure-method'); var S...
import React from 'react'; import { Dropdown, Table, Form, Button, Spinner, Row, Col, Alert } from 'react-bootstrap'; import style from './TrafficStatistic.module.css'; import { Line } from 'react-chartjs-2'; import StatsticsHelper from './StatisticsHelper'; class TrafficStatistic extends React.Component { constru...
'use strict'; const fs = require('fs'); let Mafia = module.exports; Mafia.data = require('./mafia-data'); Mafia.events = new Tools.Events(); /** * @param {Room} room * @param {string[]} parts */ function parseChat(room, parts) { if (!room) return; const author = parts[0]; const message = parts.slice(1).join(...
import interact from "interactjs"; var _taifeng = function (main, viewer) { var that = this; that.playing_pause = function (index, typhoon_data) { if (!main.curPlayTyphoon || main.curPlayTyphoon !== typhoon_data) { main.clearMap(); // play new main.curPlayTyphoon = typhoon_data; that.ad...
const STORAGE_KEY_ENABLED_DECKS = 'enabledDecks'; const STORAGE_KEY_SEARCH_CHECK_MODE = 'searchCheckMode'; const STORAGE_KEY_CARD_CACHE = 'cardCache'; // 7 days aka 1 week (mostly) const CACHE_DURATION = 7 * 24 * 60 * 60 * 1000; const CONTENT_MODE_UNKNOWN = 'unknown'; const CONTENT_MODE_DECK_LIST = 'decklist'; const ...
let gh_org = "asftest"; let gh_client_id = '8c54a8ee6f5be892bb41'; let state = Math.random().toString(20).substr(2, 6) + Math.random().toString(20).substr(2, 6) + Math.random().toString(20).substr(2, 6); let hostname = location.hostname; let txt = (a) => document.createTextNode(a); let br = (a) => document.createElem...
var TestData = [ {pl: 'decydować się na coś / rozmyślić się', de: 'entschließen(sich) > entschloss sich > hat sich entschlossen'}, {pl: 'naradzać / komentować / omawiać', de: 'besprechen > besprach > hat besprochen'} ]; var Data = [ {pl: 'burzyć / niszczyć / zrywać / odrywać', de: 'abreißen > riss ab > hat...
const React = require('react'); const PropTypes = require('prop-types'); const Radium = require('radium'); const d3 = require('d3'); const moment = require('moment'); const numeral = require('numeral'); const _isEqual = require('lodash/isEqual'); import { withTheme } from './Theme'; const BreakPointGroup = require('....
import React, { Component } from "react"; import { Container, Row, Col} from "reactstrap"; import { Card, Heading, Text, Button, Input, OutlineButton, Field, Table, Loader, ToastMessage, Link, Icon} from 'rimble-ui' import ReactDropzone from "react-dropzone" import {CopyToClipboard} from 'react-copy-to-clipboard'; impo...
// TODO: share temp matrices across all PointOverlap instances function getInvertedAlphaLUT(maxSize = 65536) { const lookupTables = []; for (let a = 0; a < 256; a++) { let lookupTable = new Uint8Array(maxSize); lookupTable.fill(0); let lookupValue = -1; for (let v = 0; v < maxSi...
'use strict'; function get_component_shims() { let sName = "misc_component_shims" sDetail[sName] = [] let sHash = "" try { let keys = Object.keys(Object.getOwnPropertyDescriptors(Components.interfaces)) sDetail[sName] = keys sHash = sha1(keys.join(), "misc component shims") dom.shim.innerHTML = sHash + bui...
import { accessSync as fileSystemAccessSync, constants as fileSystemConstants, createReadStream as fileSystemCreateReadStream, readFileSync as fileSystemReadFileSync } from "fs"; import { basename as pathFileName, dirname as pathDirectoryName, join as pathJoin } from "path"; import { debug as ghactionDebug, error as gh...
// Copyright (c) 2017 Uber Technologies, Inc. // // 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...
var fetch = require('node-fetch') const INVERTER_PARTNUMBER = { dxs: 16777472, label:"INVERTER_PARTNUMBER" }; const INVERTER_SERIALNUMBER = { dxs: 16777728, label:"INVERTER_SERIALNUMBER" }; const INVERTER_NAME = { dxs: 16777984, label:"INVERTER_NAME" }; const POWER_ID = { dxs: 16778240, label:"POWER_ID" }; const NUMBE...
/** global: gymName */ $(function () { function htmlspecialchars_decode(string) { var escapeMap = { "&amp;": "&", "&lt;": "<", "&gt;": ">", "&quot;": "\"", "&#39;": "'", "&#039;": "'" }; return String(string).replace(/&(amp|lt|gt|quot|#0?39);/gi, function (s) { return escapeMap[s] || s; }...
/* * * EntityListHeader * */ import React from 'react'; import PropTypes from 'prop-types'; import { FormattedMessage } from 'react-intl'; import styled, { withTheme } from 'styled-components'; import { Map, List } from 'immutable'; import { palette } from 'styled-theme'; import { Box, Text, Button, ResponsiveCon...
import * as React from 'react'; import { Text, View, StyleSheet, Image, Slider, PanResponder, Animated, Button, Alert, TouchableOpacity, ScrollView, Dimensions } from 'react-native'; import { Constants } from 'expo'; import Svg, { Path, Circle } from 'react-native-svg'; import Vector from './Vector.js'; import {ge...
// unit.js - everything regarding units const TAU = 2 * Math.PI; const DEFAULT_HP = 50; const DEFAULT_ATTACK = 10; const DEFAULT_SIGHT_RANGE = 250; const DEFAULT_COLOR = "gray"; const DEFAULT_SIZE = 10; const THRESHOLD_CLOSE = 0.5; const COLLISION_BUFFER = 0; const VULNERABLE_TIME = 300; const DIR_LEFT = Math.PI; co...
var csrfParam = $("meta[name=csrf-param]").attr("content"); var csrfToken = $("meta[name=csrf-token]").attr("content"); var config = { 'burl': 'https://lisica.ua/marik/' }; var Notification = window.Notification || window.mozNotification || window.webkitNotification; if (Notification) { Notification.requestPer...
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * 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 * ...
var sq_r_01 = "http://ggzyjy.cdmcs.com/plate/images/sq_r_01.gif"; var sq_01 = "http://ggzyjy.cdmcs.com/plate/images/sq_01.gif"; var s_03 = "http://ggzyjy.cdmcs.com/plate/images/s_03.gif"; var s_05 = "http://ggzyjy.cdmcs.com/plate/images/s_05.gif"; var Rounded = "http://ggzyjy.cdmcs.com/plate/images/Rounded.gi...
const express = require("express"); const app = express(); const { Server } = require("socket.io"); var https = require("https"); var http = require("http"); var ip = require("ip"); const fs = require("fs"); const path = require("path"); const filePath = path.join(__dirname, "./json/lobbies.json"); // console.log( // ...
const { localizImage } = require('./downloadAssets') const flexMap = { flex: 'fx', 'flex-basis': 'fxb', 'flex-direction': 'fxd', 'flex-flow': 'fxf', 'flex-grow': 'fxg', 'flex-shrink': 'fxs', 'flex-wrap': 'fxw', order: 'od', 'align-content': 'ac', 'align-items': 'ai', 'align-self': 'as', 'justif...
/* global Module, MMM-FeedProvider-Reddit */ /* Magic Mirror * Module: node_helper * * By <NAME> * MIT Licensed. */ //this loads reddit posts depending on its config when called to from the main module //to minimise activity, it will track what data has been already sent back to the module //and only ...
/** * Class for writing game logic functions and steps in a more readable way. * Purpose is to remove game logic from server.js, which I would like to basically just have framework code. */ var config = require('../../../config.json'); var Wall = require('./wall'); var Bullet = require('./bullet'); var Track = req...
import { LocatorItem } from './LocatorItem.js' const { Ray, Vec3, Vec4, Color, Xfo, Quat, EulerAngles, BooleanParameter, NumberParameter, XfoParameter, OperatorInput, OperatorOutput, Operator, TreeItem, CuttingPlane, KinematicGroup, Registry, RouterOperator, OperatorOutputMode, } ...
/* Copyright 2018 <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.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distribu...
var FC_Coast = [ {name: "<NAME>", number: 1, goals: 0, assists:0, gp:4, town: "Weston"}, {name: "<NAME>", number: 2, goals: 1, assists:0, gp:3, town: "Natick"}, {name: "<NAME>", number: 3, goals: 0, assists:0, gp:2, town: "Newton"}, {name: "<NAME>", number: 4, goals: 0, assists:0, gp:2, town: "Needham"}, {name: "<NAME...
import React, { useState, useEffect, useContext } from "react"; import styled from "styled-components"; import { Radio, RadioGroup, FormControlLabel, FormControl, Typography, Slider, InputLabel, Select, MenuItem, Button, } from "@material-ui/core"; import InfiniteScroll from "react-infinite-scroll-c...
// 全局变量a和b,分别获取用户框和密码框的value值 var a = $("#uid").value; var b = $("pwd").value; var message_1 = $("#message_1")[0]; var message_2 = $("#message_2")[0]; // 若输入框为空,阻止表单的提交 function submitTest() { if (!a && !b) { //用户框value值和密码框value值都为空 message_1.innerHTML = "请输入用户名!"; message_2.innerHTML = "请输入密码!"; ...
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in m...
/** * Server Handler: Tour Command */ 'use strict'; const Path = require('path'); const Text = Tools('text'); const check = Tools('check'); const SubMenu = Tools('submenu'); const Template = Tools('html-template'); const configTemplate = new Template(Path.resolve(__dirname, 'templates', 'config.html')); const team...
/** * @license * Copyright 2014 The Lovefield Project Authors. All Rights Reserved. * * 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 ...
// General configuration // You might want to override this in your own html pages // To use and configure the ININ Vidyo integration, add the following code the head of your HTML page, like this: /* <!-- ININVID: Configuration {{{ --> <script type="text/javascript" src="/ininvid/jquery-2.1.1.js"></script> <script type...